Just to let you know,
Any request with filtered endpoints using ?keys=$$$,$$$$$,$$$ like, for example,
url = 'https://api.royaleapi.com/player/' + tag +'?keys=cards,stats'
returns all the fields, including the requested one (no filtering of the returned data). This filtering does not work whatever the chosen endpoint.
This poses not pb in for users, but it still shall overload a LOT the servers that provide all the data whatever the request is, even if only one is requested..
This has is closely related to a previously mentioned Issue (can't find it again), but as it has not been corrected, I prefer to flag it there.
Best,
Tithan
Copied from original issue: RoyaleAPI/cr-api-ux#274
From @Tithanium on August 31, 2018 23:46
Just to let you know, Any request with filtered endpoints using ?keys=$$$,$$$$$,$$$ like, for example, url = 'https://api.royaleapi.com/player/' + tag +'?keys=cards,stats' returns all the fields, including the requested one (no filtering of the returned data). This filtering does not work whatever the chosen endpoint.
This poses not pb in for users, but it still shall overload a LOT the servers that provide all the data whatever the request is, even if only one is requested.. This has is closely related to a previously mentioned Issue (can't find it again), but as it has not been corrected, I prefer to flag it there. Best, Tithan
Copied from original issue: RoyaleAPI/cr-api-ux#274