Home

Awesome

Clash Royale API

Codeship Status for martincarrera/clash-royale-api Coverage Status donate paypal

A Clash Royale API that provides information about the game.

If you develop an app using this API, please submit a pull request adding it to the apps table.

Content

  1. How to use
    1. Endpoints
    2. Images
  2. Want to help
  3. Development
    1. Install
    2. Run
    3. Test
  4. Apps that use this API

How to use

Consume the API to get all the information you need from these routes.

Endpoints

Base route.

RouteHTTP VerbDescription
/api/arenasGETAll Arenas information
/api/arenas/:idGETSingle Arena information
/api/arenas/:idNameGETSingle Arena information
/api/cardsGETAll Cards information
/api/cards/:idGETSingle Card information
/api/cards/:idNameGETSingle Card information
/api/chestsGETAll Chests information
/api/chests/:idGETSingle Chest information
/api/chests/:idNameGETSingle Chest information
/api/leaguesGETAll Leagues information
/api/leagues/:idGETSingle League information
/api/leagues/:idNameGETSingle League information
/api/playersGETAll Players levels information
/api/players/:idGETPlayer level information
/api/players/:idNameGETPlayer level information
/api/random-deckGETGet a Random deck!

Images

You can get the images too! Thank you MaherFa!

RouteDescription
/images/arenas/${idName}.pngArenas images
/images/cards/${idName}.pngCards images
/images/chests/${idName}.pngChests images
/images/leagues/${idName}.pngLeagues images

Want to help

If you like the API, please star this repository.

If you create an app using the API, please mention this repository and add it in the table below.

If you want to contribute to the API, feel free to create a pull request.

If you :heart: the API, help me pay the hosting!

Development

Make sure you have installed all these prerequisites on your development machine.

Install

> git clone https://github.com/martincarrera/clash-royale-api.git
> cd clash-royale-api
> npm install

Run

> mongod
> cd clash-royale-api
> npm run dev

If you don't have Nodemon installed

> mongod
> cd clash-royale-api
> npm i -g nodemon
> npm run dev

Test

> npm test

Apps that use this API

APPDESCRIPTIONLINK
RandeckSimple web app that generates random decks.Go!
Royale PlusFacebook for Clash Royale players.Git! Go!
BarrePoliceA Telegram Bot based on plugins written in LuaGo! & send /cr
ClashapiNPM package to consume this APIGo!
Deck itDeck builder app designed for AndroidGo!
Deck Generator for Echo DevicesAlexa skill to suggest a deck for clash royale for Amazon's Echo devicesGo!
Clash Royale Discord BotA Discord bot that displays informations depending of commandsGo!
Deck RoyaleA SPA using Vue that generates random decks.Git! Go!
ClashEliteSimple app that gives info on chest cycles and generates random decks with copy and share feature.Go!

Made with :heart: by clash fans.


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.