Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/knightplayzz/clash-of-clans
Npm package that connects to the clash of clans api to get information about players, clans ect.
https://github.com/knightplayzz/clash-of-clans
clash clash-of-clans clash-of-clans-api clashofclans supercell
Last synced: about 2 months ago
JSON representation
Npm package that connects to the clash of clans api to get information about players, clans ect.
- Host: GitHub
- URL: https://github.com/knightplayzz/clash-of-clans
- Owner: Knightplayzz
- License: other
- Created: 2023-08-14T15:45:25.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-31T07:39:24.000Z (over 1 year ago)
- Last Synced: 2024-10-10T22:22:54.524Z (2 months ago)
- Topics: clash, clash-of-clans, clash-of-clans-api, clashofclans, supercell
- Language: JavaScript
- Homepage:
- Size: 2.41 MB
- Stars: 1
- 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 of Clans API](https://developer.clashofclans.com)
For more information about the responses please check [Official Clash of Clans Dev Website](https://developer.clashofclans.com/api-docs/index.html). Not releated to Supercell.
Created By: Philippe Smeets## Installation
`npm install clash-of-clans-node`
## Links
- [Documentation](https://github.com/Knightplayzz/clash-of-clans/blob/main/documentation.md)
- [Clash of Clans Developer Website](https://developer.clashofclans.com/)
- [Clash of Clans 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 clan = await client.getClan('#2GLVC9GYV');
console.log(`${clan.name} (${clan.tag})`);
}
myFunction();
```### Disclaimer
> This content is not affiliated with, endorsed, sponsored, or specifically approved by Supercell and Supercell is not responsible for it. For more information see Supercell's Fan Content Policy: