RoyaleAPI / cr-api

Clash Royale Analytics, Profiles and Insights. We no longer publish a public API. Please use the official API from Supercell.
https://RoyaleAPI.com
167 stars 20 forks source link

Setting Max and Page number for battles not working (Pagination) #407

Closed rprescottjr closed 3 years ago

rprescottjr commented 6 years ago

Issue Report:

  1. Did you encounter this recently, or has this bug always been there? I just encountered this recently, although I have not tried to use this functionality before.
  2. Expected behaviour: When setting a max value, a maximum of that many results is included in the resultset. When setting a page value, paging properly happens.

Request Details:

GET
https://api.royaleapi.com/clan/22082YC0/battle?type=war&max=2&page=1
https://api.royaleapi.com/clan/22082YC0/battle?type=war&max=2&page=0

Response Details:

Code: 200
Due to the length of the response, a screenshot is included below with just the first couple results...

image

Gr8z commented 6 years ago

exclude and keys params are not working either.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.