These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Question about the API Caching

Author
Gambai Fuchette
Mossad Industries
#1 - 2012-08-03 22:33:23 UTC
Developing my first tool using the API. Had a question about CCP's request limits and caching.

1) Is their a roe (rules of engagement) with the api? How many request can I make an hour and such? My tool will live on a web server and I do not want get black listed for too many request.

2) I see a caching attribute with my request but I noticed it does not seemed to stay cached. If I make the same call to character sheet in a 5 minute span, the cached until attribute simply increments 5 minutes. This would lead me to believe the data was not cached and I just forced a new query. I am sure CCP has protected themselves from too many request but not sure what is cached when that attribute keeps incrementing.

Thanks.
Captain Thunk
Explode. Now. Please.
Alliance. Now. Please.
#2 - 2012-08-04 02:38:34 UTC
1) Not really. You can make as many requests as you like. If you're making too many then CCP throttles your IP anyway, so it's not something you need to concern yourself with. What you do need to watch is the number of errors you generate as too many can get you temporarily banned. Clear erroneous keys and obey cache timers and you should be fine.

2) data body is cached, obey the first timer and you'll be fine.