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.
 

API Questions about Limits, Errors and suggestions

First post
Author
Lluerssen
PHUB Corporation
#1 - 2014-04-10 01:03:43 UTC  |  Edited by: Lluerssen
Hey all.

While writing my own replacement for Yapeal, I got curious about:

1) How many reqs/sec i can do from one IP ?
2) How many 2xx (auth) errors i can do before ban?
3) Does #2 include other errors like 124 error of FacWarStats: Character not enlisted in Factional Warfare ?

4) Why there are no accessMasks for "ContractBids", "ContractItems". I understand that it totally depends on "Contract", but checking could be simpler if data was in /api/Callist
4.1) MailBodies exists inside /api/Calllist...

5) If api totally based on sections (api, eve, server, char, account), wouldn't it will be better to move AccountStatus row from Character group to Account? Inside /api/Calllist
5.1) This also make /api/Calllist more worthy to understand when api changed/added new sections & etc.

6) Some APIs (Locations, NotificationTexts) have attribute "IDs". Is it limited to some length?

Tyvm for answers :)

Sister of EvE: http://SisterOfEvE.ru/ Loot History Analyzer: http://SisterOfEvE.ru/loot_history/

CCP FoxFour
C C P
C C P Alliance
#2 - 2014-04-10 13:41:27 UTC
Lluerssen wrote:
Hey all.

While writing my own replacement for Yapeal, I got curious about:

1) How many reqs/sec i can do from one IP ?
2) How many 2xx (auth) errors i can do before ban?
3) Does #2 include other errors like 124 error of FacWarStats: Character not enlisted in Factional Warfare ?

4) Why there are no accessMasks for "ContractBids", "ContractItems". I understand that it totally depends on "Contract", but checking could be simpler if data was in /api/Callist
4.1) MailBodies exists inside /api/Calllist...

5) If api totally based on sections (api, eve, server, char, account), wouldn't it will be better to move AccountStatus row from Character group to Account? Inside /api/Calllist
5.1) This also make /api/Calllist more worthy to understand when api changed/added new sections & etc.

6) Some APIs (Locations, NotificationTexts) have attribute "IDs". Is it limited to some length?

Tyvm for answers :)



  1. Thats actually a floating number, it's based on % of total requests. Sites such as zKill/EVEKill are doing around 20 r/s and that has just pushed them above the limit. So if you stick to something under that, or contact us and have a chat about getting a higher limit for your ip, you should be fine. See the r/s of zKill here: https://zkillboard.com/information/killmails/
  2. Uuuuuuuuuu I don't know. Sorry. I should probably, but after a quick look at the code it says 1.5m errors within a minute equals a 3 minute ban... which makes no sense whatsoever as I know thats not right. Will try and get back to you on this.
  3. I believe we group all the errors together when throttling bad people, at least thats what it looks like after 30 seconds of poking the code.
  4. There seems to be access masks for those... they may not be listed in api/CallList, but if there were not a large number of legacy things using that endpoint I would just delete it. It does not get updated, I have no idea how to update it, it's just bad.
  5. Ignore /api/CallList >.<
  6. Not sure I understand your question... but again if its anything about /api/CallList... nope no answer.
  7. See above.
  8. 250


Hope that helps.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Cyerus
University of Caille
Gallente Federation
#3 - 2014-04-10 14:10:37 UTC  |  Edited by: Cyerus
3. Not able to answer the question, but general information; Error 124 - Character not part of FW can now be circumvented by using one of FoxFour's awesome updates, as FW information is now part of most calls (see full list of changes here)

I'd also suggest to use PhealNG as the backbone for project, as that would save you from a lot of hustle. I've been wanting to create such a thing for a while now, and willing to help out if you are willing to make it opensource.
Lluerssen
PHUB Corporation
#4 - 2014-04-11 03:16:58 UTC
Thanks guys for answers!

Cyerus, also you just pointed me that we already have "factionID" :)))

Sister of EvE: http://SisterOfEvE.ru/ Loot History Analyzer: http://SisterOfEvE.ru/loot_history/