Closed jonowo closed 5 years ago
"code": "_AU"
clan["location"]
_AU
/clan
/top/clans
/top/war
GET https://api.royaleapi.com/clan/89YVRV https://api.royaleapi.com/top/clans https://api.royaleapi.com/top/war
/clan/89YVRV (some data is omitted):
/clan/89YVRV
Code: 200 { "tag": "89YVRV", "name": "DBZ Saiyans", "description": ..., "type": "open", "score": 51050, "warTrophies": 8971, "memberCount": 46, "requiredScore": 4900, "donations": 28006, "badge": {...}, "location": { "name": "Oceania", "isCountry": false }, "members": [...], "tracking": {...} }
/top/clans and /top/war (similar response, some data is omitted):
Code: 200 [ ..., { "tag": "89YVRV", "name": "DBZ Saiyans", "score": 8971, "memberCount": 46, "rank": ..., "previousRank": ..., "badge": {...}, "location": { "name": "Oceania", "isCountry": false } }, ... ]
It has no location code AFAIK, and doesn't exist in the official API. Feel free to reopen with details if I'm incorrect.
Issue Report:
"code": "_AU"
is present inclan["location"]
. (Location code for Oceania is_AU
)/clan
,/top/clans
and/top/war
, not to clans in other regions such as Asia.Request Details:
Response Details:
/clan/89YVRV
(some data is omitted):/top/clans
and/top/war
(similar response, some data is omitted):