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 question

Author
Jediman
Aliastra
Gallente Federation
#1 - 2016-08-26 19:02:33 UTC
I'm having trouble trying to export a corp wallet for the journal entries, using the below to code to export the api, how can I get more than roughly 50 wallet journal entries from the corp? Wasn't there like a limit of 1000?


https://api.eveonline.com/corp/WalletJournal.csv.aspx?keyID=xxxx&vcode=xxx&characterID=xxx


Thanks for the help
Blacksmoke16
Imperial Academy
#2 - 2016-08-26 19:13:19 UTC
Most it can return is 2560 by adding &rowCount=2560 to the end of the query url. If you want earlier ones you will have to get into journal walking

http://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/intro.html#journal-walking

Hel O'Ween
Men On A Mission
#3 - 2016-08-27 10:09:11 UTC
Blacksmoke16 wrote:
Most it can return is 2560 by adding &rowCount=2560 to the end of the query url. If you want earlier ones you will have to get into journal walking

http://eveonline-third-party-documentation.readthedocs.io/en/latest/xmlapi/intro.html#journal-walking


This.

Although these are two dinstinguished matters:

1) How to retrieve older journal entries after having received a journal XML?

In short:
- Get XML
- Search for the lowest refID in the XML (Please note: CCP doesn't guarantee to return the refIDs in order. So make sure you don't just pick the last one, assuming that's the lowest (which it usually is), but really search or the lowest one)
- Pass that refID as an additional argument to your next call
- Repeat until API returns an error = no more (older) entries available

2) How many rows can be returned from the API per XML request

As Blacksmoke has mentioned: you can vary the number of rows returned per API call, with 2560 being the maximum.

EVEWalletAware - an offline wallet manager.