Avatar image for thing2
#1 Posted by Thing2 (15 posts) -

Hello,

Not sure if I should send this directly to @wcarle or make a blanket post so I'll try this way first :)

Repro. steps:
https://www.giantbomb.com/api/search?format=JSON&api_key=<redacted>&query=Mario&offset=0&resource_type=game&field_list=id


-and-


https://www.giantbomb.com/api/search?format=JSON&api_key=<redacted>&query=Mario&offset=64&resource_type=game&field_list=id

Return the exact same list of id's - Despite the response saying there are 431 results to be had.

Raw Response here: http://pastebin.com/6mdfjAjy

Avatar image for frobie
#2 Edited by frobie (194 posts) -

@thing2 It's a bug. I would suggest using page to paginate through the results in the mean time.

Staff
Avatar image for thing2
#3 Edited by Thing2 (15 posts) -

Thanks @frobie - 'page' works like a charm!

Any idea if 'page' will cease to function / be deprecated after offset is fixed? Would want to get ahead of any potential "Hotfix because the functionality is broken in the app situations" :)