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.
 

IndustryJobs API

Author
Beebob-boop
Dark Orbit Media
#1 - 2012-05-04 18:38:56 UTC
Anyone know how long jobs stick around for on this API call after they've been completed / delivered?
Louis Vitton
Viziam
Amarr Empire
#2 - 2012-05-04 23:04:54 UTC
This is kinda not answering your question but you could make a few calls yourself - save the xml files and then see how long they stick around after you deliver them.
This is a guess as i have never worked with this api before i have worked with several others.
also this maybe help http://wiki.eve-id.net/APIv2_Page_Index
Bluestream3
the Goose Flock
#3 - 2012-05-05 00:45:30 UTC
It depends on the cache timer. If it has a cache time of one hour you will be able to get updated information every hour. Every time you make a query that gives you non-cached information, you'll have to wait until the cache timer runs out before you can get new information again. I think the industryjobs api has a cache timer of 15 minutes, so to answer your question, in that case, that'd be anything between 0 and 15 minutes. Of course you can just check the cacheduntil element in the xml and compare it to the current time (assuming you haven't already made calls that started the timer) and that'll tell you how long it is.
Thebriwan
LUX Uls Xystus
#4 - 2012-05-05 11:44:06 UTC
I have 14 days of jobs in my actual xml.

The oldest delivered is from may 1st - that would be 5 days.

If this is always so, and how it scales I do not know.
Beebob-boop
Dark Orbit Media
#5 - 2012-05-07 23:12:20 UTC
Yes I understand the cache timers, but that's not what I was referring to. I think Thebriwan has the right idea. You'll notice that after you deliver a job and then get the updated API data, it will still show that job on it with a "completed" status. My question is, how long do those ones show up on that API call for?
Dragonaire
Here there be Dragons
#6 - 2012-05-08 07:37:21 UTC
Might be less a period of time than when you've got a certain number of newer jobs it drops off. That's just a guess but would be more in line with how some of the other APIs work.

Finds camping stations from the inside much easier. Designer of Yapeal for the Eve API. Check out the Yapeal PHP API Library thread.