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.
 

Contracts API ?!

Author
Tim Valentine
Doomheim
#1 - 2013-06-22 11:11:32 UTC  |  Edited by: Tim Valentine
I need a List of all contracts and contract information (size, collateral, ect.).

I thought it would work via API, so i searched and found this:
https://wiki.eveonline.com/en/wiki/EVE_API_Character_Character_Contracts
Quote:
The contract API returns a list of all contracts for your character or corporation with relevant information


Well, thats a lie! Twisted. It only shows about 1 page of contracts.

I need this stuff for some statistics. So how can i get the contract info of all my contracts? In game i can get it, so i hope there's a way to get it per API, too.
I'm very new to this API Stuff, and maybe there might be a secret ContractPage-parameter or something?? Ugh

thanks :)


EDIT: ah, you can search for a special contractID ... so maybe it would work like


for i=1 to 9999999999
getContract(i=contractID)
next

But however.. that's a terrible and timeconsuming way of doing it ^^

//¬]_ '

Ydnari
Estrale Frontiers
#2 - 2013-06-22 13:04:28 UTC
Tim Valentine wrote:
I need a List of all contracts and contract information (size, collateral, ect.).

I thought it would work via API, so i searched and found this:
https://wiki.eveonline.com/en/wiki/EVE_API_Character_Character_Contracts
Quote:
The contract API returns a list of all contracts for your character or corporation with relevant information


Well, thats a lie! Twisted. It only shows about 1 page of contracts.

I need this stuff for some statistics. So how can i get the contract info of all my contracts? In game i can get it, so i hope there's a way to get it per API, too.
I'm very new to this API Stuff, and maybe there might be a secret ContractPage-parameter or something?? Ugh

thanks :)


Like much of the API it only goes back a certain amount of time; I believe it's 1 month for contracts.

If you haven't got them from the API by then, there's no way of getting them.

Quote:
EDIT: ah, you can search for a special contractID ... so maybe it would work like


for i=1 to 9999999999
getContract(i=contractID)
next

But however.. that's a terrible and timeconsuming way of doing it ^^


That'll get you banned from the API in short order, scraping by making up IDs is not allowed.

--

Tim Valentine
Doomheim
#3 - 2013-06-22 14:21:08 UTC
So i have to pay some noobies to record all of this "lost" contracts ? (about 3k-4k)
damn, that will take years....

any volunteers? Lol

there must be a way to get this data. the contracts are shown in the game, so they still exist in some database. Maybe i should write a ticket and ask if some nice ccp-gamemaster can copy it and send it per email? *puppy eyes activated*

//¬]_ '