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
166 stars 20 forks source link

This is a problem on using pagination for these requests #457

Closed Moosphan closed 5 years ago

Moosphan commented 5 years ago

request:

  1. when i request https://api.royaleapi.com/top/clans/search?name=name&max=6&page=1, there was a problem of pagination

Issue Report:

  1. this bug always been there
  2. It should be paged correctly.
  3. Console logs (if applicable):
    {
    "error": true,
    "status": 404,
    "message": "Not Found | Additional information and support: http://discord.me/royaleapi"
    }

    Request Details:

    GET https://api.royaleapi.com/top/clans/en/search?name=name&max=6&page=1

Response Details:

{
    "error": true,
    "status": 404,
    "message": "Not Found | Additional information and support: http://discord.me/royaleapi"
}

Code: 404