bsantosh909 / croyale Goto Github PK
View Code? Open in Web Editor NEWEasy to use asynchronous Wrapper for RoyaleAPI.
License: MIT License
Easy to use asynchronous Wrapper for RoyaleAPI.
License: MIT License
Currently the keys, Exclude and other query parameters work even if they are not array. There should be an better check to see if its actually an array.
Implement pagination for the possible endpoints (i.e. the endpoints that return an array) as described here here
Do not Enough
/players?/:Tag/battles?
At the moment it is impossible to get the number of matches.
It will be great if you add it.
Implement caching so that unnecassary request wont be made to the API for the time being.
How can I get clan chat?
Hi, it would be great. If there is an opportunity to get ratelimit. Here so for example. Where var ratetime is the client's object.
https://gist.github.com/Friday14/d7733cac6a8b2cba8ef0bc7a9a65a369
(Issue title pretty self explanatory)
Expected Result: Upon getting clanChest stats of invalid clan tag, an Improper request error from wrapper.
Actual Result: 400 bad request error from the API itself.
So the issue seems to be that the wrapper isnt catching invalid tags, leading to something returning an unintelligible mess that messes with other error checking logic. TypeError: err.includes is not a function
is what shows up when I run a getplayer
on 3333
Offending line on: https://github.com/TheLearneer/croyale/blob/master/src/client.js line 85.
When submitting a tag that is not registered to a player, it returns an error containing a 404 in a string. However, when submitting nothing it returns an error in a object type, which leads to impossibility in checking which it was on data returning.
These are the functionality (endpoints) missing in the wrapper at current:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.