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.
 

no more than 50 results in UpcomingCalendarEvents

Author
Pestoya
Caldari Provisions
Caldari State
#1 - 2013-03-11 07:35:19 UTC
Hi,

I encounter some trouble with the eve online api, in our corporation we have 84 POS anchored (so same number of event in calendar), we need to know the time when they will be out of fuel, so i've developped a software to do this.
But when i call the URL: https://api.eveonline.com/char/UpcomingCalendarEvents.xml.aspx?keyID=xxx&vCode=xxx&characterID=xxx

The result is limited to 50 events,

Is this a bug ? or pagination is not documented ? Someone have a tip to get easyly the date when pos run out of fuel ?

Thank for reading.
Azazel Mordred
Cloak of Shadows
#2 - 2013-03-11 08:31:14 UTC
It probably doesn't support returning more elements than what you're seeing right now.

Following the current paginated request formats, wou could try appending a "fromID=" with the last eventID in your resultset, and/or include a "rowCount=" parameter.

These are fairly commonly used in other paginated requests, so you might get lucky and discover they work, however it is doubtful you will be able to retrieve more than the 50 you're getting right now.

Out of Eve - Web-based character and corporation information http://www.outofeve.com/ Source Code: https://github.com/shrimpza/outofeve/

Pestoya
Caldari Provisions
Caldari State
#3 - 2013-03-11 21:36:51 UTC  |  Edited by: Pestoya
Azazel Mordred wrote:
It probably doesn't support returning more elements than what you're seeing right now.

Following the current paginated request formats, wou could try appending a "fromID=" with the last eventID in your resultset, and/or include a "rowCount=" parameter.

These are fairly commonly used in other paginated requests, so you might get lucky and discover they work, however it is doubtful you will be able to retrieve more than the 50 you're getting right now.



Thank for your response but it seems this is not working.