Dash.3179 Posted February 15, 2018 Share Posted February 15, 2018 Admittedly I'm new to using the api, so this may be intended behaviour, but when I pull my TP current buys list from:api.guildwars2.com/v2/commerce/transactions/current/buys?access_token=[apikey]the results are capped to the most recent 50, even though I have ~75 active buy orders Link to comment Share on other sites More sharing options...
Archomeda.6472 Posted February 15, 2018 Share Posted February 15, 2018 Such endpoints are paginated. You can define the page size by adding the parameter page_size=<size> (max 200), and the page by adding page=<page> (0-indexed).Also note the returned response headers X-Page-Size, X-Page-Total, X-Result-Count and X-Result-Total. Link to comment Share on other sites More sharing options...
Dash.3179 Posted February 15, 2018 Author Share Posted February 15, 2018 That makes total sense, thankyou Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.