| Pages: [1] :: one page |
| Author |
Thread Statistics | Show CCP posts - 0 post(s) |

Irmaus
|
Posted - 2009.08.19 10:49:00 -
[1]
Hi,
Is there any way to "bypass" CCP restriction on loading assets API info more than once per 24h? I'm currently using both EMMA and eveassets, but can update assets only to one of those, so the full functionalities of the programs are homewhat crippled. 
(sorry for posting this to MD, didn't really know where else to go...)
|
|

Chribba
Otherworld Enterprises Otherworld Empire
|
Posted - 2009.08.19 11:07:00 -
[2]
Change IP. Use an api proxy.
|
|

Risk Aversion
|
Posted - 2009.08.19 13:18:00 -
[3]
If you wait a couple hours between assets updates both applications will get the info. In other words, update your EMMA assets and then wait a couple hours (don't know the exact delay, might even be just 1 hour) then Eve-Assets will be able to pull the same cached info you got earlier with EMMA.
|

Ray McCormack
hirr
|
Posted - 2009.08.19 15:16:00 -
[4]
Edited by: Ray McCormack on 19/08/2009 15:19:19
Originally by: Risk Aversion (don't know the exact delay, might even be just 1 hour)
It's 24h, as stated in the OP. I bypass it by implementing an API cache/proxy.
Edit - A modified version of this one.
Some people call me the space cowboy, yeah |

Ambo
I've Got Nothing
|
Posted - 2009.08.19 16:38:00 -
[5]
It's a bit of a crap workaround, but you can manually download the asset data and then import the XML file into EMMA. (Import Data -> Eve API XML File)
If the other program(s) you use have a similar feature then that would resolve the issue. Would just mean you had to manually update it whenever you wanted it. --------------------------------------
Trader? Investor? Just want to track your finances? Check out EMMA |

Irmaus
|
Posted - 2009.08.19 18:00:00 -
[6]
Thank you all for your help so far :)
Changing IP doesn't help since as far as I understand it indeed is 24h timer on the account in question.
Api proxies I googled up and found the same that Ray McCormack linked, but I can't get it working. Tried it with EVEWalletAware (since from it's .ini files I found the normal api url). So I replaced "http://api.eve-online.com" with "http://eveapiproxy.appspot.com" but as I try to retrieve the data an error log line comes up stating:
HTTP Error: 405, Method Not Allowed, URL: http://eveapiproxy.appspot.com/char/WalletTransactions.xml.aspx, Params: userID="myid"&apiKey="myapikey"&characterID="mycharid"
I think I'm doing something wrong (not very tech oriented person)
Manual download/importing would be my last resort, as by time it gets quite boring task to perform.
|

Teavan
Gallente First CityWide Change Bank
|
Posted - 2009.08.19 18:46:00 -
[7]
Originally by: Irmaus Thank you all for your help so far :)
Changing IP doesn't help since as far as I understand it indeed is 24h timer on the account in question.
Api proxies I googled up and found the same that Ray McCormack linked, but I can't get it working. Tried it with EVEWalletAware (since from it's .ini files I found the normal api url). So I replaced "http://api.eve-online.com" with "http://eveapiproxy.appspot.com" but as I try to retrieve the data an error log line comes up stating:
HTTP Error: 405, Method Not Allowed, URL: http://eveapiproxy.appspot.com/char/WalletTransactions.xml.aspx, Params: userID="myid"&apiKey="myapikey"&characterID="mycharid"
I think I'm doing something wrong (not very tech oriented person)
Manual download/importing would be my last resort, as by time it gets quite boring task to perform.
Looks like you might have forgotten to actually fill out your api credentials?
|

Irmaus
|
Posted - 2009.08.19 19:09:00 -
[8]
Naah, I just didn't want to post all api data on forums.
Strange enough, manually typing url to browser: http://eveapiproxy.appspot.com/char/WalletTransactions.xml.aspx?userID="myid"&apiKey="myapikey"&characterID="mycharid" (with actual api id's and such) returns screenfull of xml data, so the server is actually responding.
|

Hel O'Ween
Academy of Truth
|
Posted - 2009.08.19 20:22:00 -
[9]
Originally by: Ambo It's a bit of a crap workaround, but you can manually download the asset data and then import the XML file into EMMA. (Import Data -> Eve API XML File)
If the other program(s) you use have a similar feature then that would resolve the issue. Would just mean you had to manually update it whenever you wanted it.
Shame on me, I only implemented the opposite part (export of downloaded XML files), yet. 
The import is on my "add sometime if time and liking permits" list. -- EVEWalletAware - an offline wallet manager |

Hel O'Ween
Academy of Truth
|
Posted - 2009.08.19 20:24:00 -
[10]
Originally by: Irmaus
Strange enough, manually typing url to browser: http://eveapiproxy.appspot.com/char/WalletTransactions.xml.aspx?userID="myid"&apiKey="myapikey"&characterID="mycharid" (with actual api id's and such) returns screenfull of xml data, so the server is actually responding.
That's perhaps because EWA uses HTTP POST (as CCP's sparse docs state to be the preferred by EVE API) instead of HTTP GET to retrieve data from the EVE API. -- EVEWalletAware - an offline wallet manager |

Nam Noissim
Caldari
|
Posted - 2009.08.20 16:05:00 -
[11]
Edited by: Nam Noissim on 20/08/2009 16:06:06 Sure, I just wrote a program that uses the assets API page for two different progs, here's how you do it.
1. Step 1, instead of streaming the file into memory and then forgetting it, save it to the hard drive. 2. WIN! because all applications simply need to look for an assets.xml file on which the cachedUntil value HAS NOT passed yet and it can use that for it's input instead of trying to get one off api.eve... 3. This solution will, of course, require you to manually move the copy of assets.xml from either the EMMA or EveAssets directory to the directory for the other app, unless they also give you the feature to say "My assets.xml will be in 'this' folder, and then point both to the same folder...
Of course, you'll have to make a post to the developers of EMMA and EveAssets to put this intelligent feature into their programs, but it really isn't something hard to do...like I said, I coded it myself (in c++)...so...yea
-Nam "No dumb bas**** ever won a war by dieing for their country. Wars were won by making the other poor dumb bas**** die for his country!" -Gen. George S. Patton |

Irmaus
|
Posted - 2009.08.20 18:15:00 -
[12]
Edited by: Irmaus on 20/08/2009 18:16:25
Originally by: Hel O'Ween
You could try a "real" HTTP caching proxy instead, which EWA now also supports (Extras -> Options -> Tab "Proxy")
Me: The guy in kindergarden trying to fit round ball to square hole, so if you bare with me a while still :)
So by "real" HTTP proxy do you mean the one provided by my ISP, or something I'd have to make/setup myself?
If the one ISP provided would be ok, then I guess starting EMMA first and querying eve api server and after that starting EWA with proxy setting should work?
|
| |
|
| Pages: [1] :: one page |
| First page | Previous page | Next page | Last page |