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.
 

Any interest in a region order API combining station+structure orders?

First post
Author
Messenger Of Truth
Butlerian Crusade
#1 - 2017-05-10 20:24:00 UTC  |  Edited by: Messenger Of Truth
If you want to fetch all orders in the forge, you have to request each page of the npc station market orders endpoint (around 30 pages for the forge). You then have to make a request to another endpoint for every structure in the forge (there are several hundred). This is a massive pain in the arse.

Would anybody be interested in an API that does all that for you, and gives you all of the orders in a region - whether NPC station or public upwell structure - in one go?

One issue with an API like this would that live order data for The Forge comes to around 60MB of JSON, and around half of that for Domain, but these are issues that could be worked around. Another issue is that only public structure orders would be fetchable via this API (due to how CCP's APIs work).

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Pete Butcher
The Scope
Gallente Federation
#2 - 2017-05-11 04:12:09 UTC
I am very interested in this for Evernus. Note: I currently have thousands of active users so this can potentially hammer the server to oblivion.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool

Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#3 - 2017-05-11 13:53:32 UTC
This is where something like cloudflare would be handy. Get them to cache the results, if the api is returning on a region level.

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Messenger Of Truth
Butlerian Crusade
#4 - 2017-05-11 16:40:10 UTC
I looked into cloudflare, they are talking about objects with a lifetime of a few hours.

At the moment I'm able to fetch all region structure+station orders every 12 minutes or so, though I expect to be able to get it down to every 5 minutes with a bit more work, which is the best we can hope to achieve with ESI.

The orders for a region would have a lifetime of basically 5 minutes in the end which doesn't match what cloudflare is targetted at. Specifically, would cloudflare be able to pick up and distribute the new objects quickly enough to be useful? Has anyone used cloudflare? I would be interested to hear about people's experiences.

Trade Hub Price Checker: stop.hammerti.me.uk/pricecheck

Visit "Haulers Channel" in game for all matters courier-related.

Structure name/system API: stop.hammerti.me.uk/api

Pete Butcher
The Scope
Gallente Federation
#5 - 2017-05-12 14:32:36 UTC
If you could add some filtering support, it would be even grater.

http://evernus.com - the ultimate multiplatform EVE trade tool + nullsec Alliance Market tool