Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knightplayzz/clash-royale
Npm package that connects to the clash royale api to get information. Player data, clan info ect.
https://github.com/knightplayzz/clash-royale
clash clash-royale clash-royale-api clashroyale supercell
Last synced: about 1 month ago
JSON representation
Npm package that connects to the clash royale api to get information. Player data, clan info ect.
- Host: GitHub
- URL: https://github.com/knightplayzz/clash-royale
- Owner: Knightplayzz
- License: other
- Created: 2023-08-19T19:56:56.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-22T18:31:20.000Z (over 1 year ago)
- Last Synced: 2024-12-20T00:41:20.947Z (about 1 month ago)
- Topics: clash, clash-royale, clash-royale-api, clashroyale, supercell
- Language: JavaScript
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Security: SECURITY.md
Awesome Lists containing this project
README
# Introduction
Provides an easy way to get started with the [Clash Royale API](https://developer.clashroyale.com)
For more information about the responses please check [Official Clash Royale Dev Website](https://developer.clashroyale.com/#/documentation). Not releated to Supercell.
Created By: Philippe Smeets## Installation
`npm install clashroyale.js`
## Links
- [Documentation](https://github.com/Knightplayzz/clash-royale/blob/main/documentation.md)
- [Clash Royale Developer Website](https://developer.clashroyale.com/)
- [Clash Royale API Community Discord](https://discord.gg/Eaja7gJ)## Example
```javascript
const client = require('clash-of-clans-node');
async function myFunction() {
await client.login('YOUR-TOKEN-HERE');
const player = await client.getPlayer('#8CY9L2CJ')
console.log(`${player.name} (${player.tag})`)
}
myFunction();
```### Disclaimer
> This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it.