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.
 

Questions about the public crest and a possible issue?

First post First post
Author
Savish Atruin
Sebiestor Tribe
Minmatar Republic
#1 - 2016-01-07 04:05:07 UTC
I asked this question on reddit, but I thought I would also ask here:

So I hit the api end point, using guzzel: https://public-crest.eveonline.com/market/prices/
Then, if you look at this json, I looped over each item, hitting the href to get further details about said item. So for example:

https://public-crest.eveonline.com/types/32772/

I eventually got the error:

cURL error 52: Empty reply from server

Now either this means that I hit the rate limit of 400 for a burst, as there are like 10'000+ items or, one of the items, not knowing which, doesn't have a response when you hit the href for that item.

If the Rate limit is the answer. How do you get around this? the only way I can think of it is to store what information I can in the database and then every minute or so go out and do 150 requests to get the detailed item info and repeat that every minute till I have all the information.

That seems a bit much.

Is there an easier way?
CCP FoxFour
C C P
C C P Alliance
#2 - 2016-01-07 08:06:08 UTC
Does guzzel not have a rate limit option?

There are a few types that have an error on TQ right now. Hoping to get a quick fix for that in today for next weeks release if I am incredibly lucky. I also plan on changing the response code for rate limiting to 429 Too Many Requests so it should be more obvious.

@CCP_FoxFour // Technical Designer // Team Tech Co

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

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#3 - 2016-01-07 08:54:37 UTC