paxswill / evesrp

EVE Ship Replacement Program (SRP) webapp
BSD 2-Clause "Simplified" License
18 stars 14 forks source link

Add 'next' and 'previous' links to API responses #87

Closed paxswill closed 8 years ago

paxswill commented 8 years ago

Leeks:

15:03:43 KalroginKerona: paxswill: btw, the readthedocs site appears to be ded
15:09:57 KalroginKerona: paxswill: and any chance of having a response block on either json or xml with number on page response or a next/prev block like on crest? ala https://public-crest.eveonline.com/types/?page=2
15:11:39 paxswill: I should add that
15:12:13 KalroginKerona: would be pretty spiffy
paxswill commented 8 years ago
17:11:07 Dante: and idc, I like staying anonymous v0v
17:11:33 Dante: also
17:11:39 Dante: pagination is a bitch for changing data sets
17:11:45 Dante: KalroginKerona: fuck you and your moving target
17:12:07 Dante: do it like reddit (ok bad example but you know what I mean), with an ?after=id
17:12:16 Dante: or similar
17:12:38 KalroginKerona: ya, I'd be fine with that, I just don't want to do needless requests with 0 results
17:12:40 Dante: that way, if you have a page 1 that's filling up between requests, page 2 won't repeat or miss shit