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.
 

Guidelines on API Request Limiting

Author
Sentient Blade
Crisis Atmosphere
Coalition of the Unfortunate
#1 - 2011-11-15 07:51:20 UTC
Hi,

Could someone direct me to guide lines regarding the number of unique API requests which may be sent to the EvE servers? I'm pulling down a fair amount of information such as the character sheet of people I have met (appeared in chat logs) and their associated corporations.

I'm aware that to complete this operation for the initial import so I have them in a local database may require tens of thousands of unique API calls.

Can anyone tell me if they forsee this being a problem? I'm using my personal API key to sign each one.

Is there a bulk mechanism available, such as getting a rowset of characters and corporations, rather than individual calls? I have been unable to locate one if so with the exception of the name / id conversion.

Thank you.
Lutz Major
Austriae Est Imperare Orbi Universo
#2 - 2011-11-15 09:00:17 UTC
Sentient Blade wrote:
may require tens of thousands of unique API calls

YES! Send those hamsters into overdrive!

Seriously ... you can't access much informations about the people other than the current corporation and alliance (see http://wiki.eve-id.net/APIv2_Eve_CharacterInfo_XML).

If that is enough for you, continue with your project.

BTW. no need to "sign" the call with your API key. You can't access other peoples private infos with your key!
Peter Powers
Terrorists of Dimensions
HORSE-KILLERS
#3 - 2011-11-15 11:04:35 UTC
usually as long as you don't cause errors your fine.
if you however cause errors in the API (requesting invalid stuff etc),
you get autobanned after a while.. with a bit of digging you should find the post that
explains the limits there - but if you respect caches and dont request random stuff
you shouldn't have any trouble

3rdPartyEve.net - your catalogue for 3rd party applications

Talaan Stardrifter
State War Academy
Caldari State
#4 - 2011-11-17 01:36:20 UTC
You could cache the requests locally, and then process them more slowly, say one per 5 seconds.
I'm doing something similar in a project I'm working on, sending request bursts every 5 minutes.
Sentient Blade
Crisis Atmosphere
Coalition of the Unfortunate
#5 - 2011-11-17 04:02:10 UTC
Well I imported around 15,000 users or so I think. I've now moved my code into a state where sub features create additional local character rows upon detection (for example a person sending a new donation).

This is allowing me to do efficient inner joins against my character table for things such as corporation and alliance name without having to go too OTT on the data replication.