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

[V3] Clan search fails without name in query #476

Closed selfish closed 4 years ago

selfish commented 4 years ago

Issue Report:

Expected behavior: should not fail.

image

Request Details:

GET
https://api.royaleapi.com/clan/search?maxMembers=3

Response Details:

Code: 400
{
    "error": true,
    "statusCode": 400,
    "statusText": "Failed to search clans: Failed to search clans: bad response: 400 Bad Request - {\"reason\":\"badRequest\",\"message\":\"Filtering parameter 'name' has to be at least 3 characters long\"}",
    "info": "Additional information and support: http://discord.me/royaleapi"
}
selfish commented 4 years ago

Implemented on v128, going live soon. (verify by accessing /version endpoint)