GithubHelp home page GithubHelp logo

qq1091192337 / clash-royale-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from martincarrera/clash-royale-api

0.0 0.0 0.0 62.4 MB

:crown: Clash Royale API that provides information about the game.

Home Page: http://www.clashapi.xyz/

License: MIT License

JavaScript 94.83% CSS 0.50% HTML 4.66%

clash-royale-api's Introduction

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.

Route HTTP Verb Description
/api/arenas GET All Arenas information
/api/arenas/:id GET Single Arena information
/api/arenas/:idName GET Single Arena information
/api/cards GET All Cards information
/api/cards/:id GET Single Card information
/api/cards/:idName GET Single Card information
/api/chests GET All Chests information
/api/chests/:id GET Single Chest information
/api/chests/:idName GET Single Chest information
/api/leagues GET All Leagues information
/api/leagues/:id GET Single League information
/api/leagues/:idName GET Single League information
/api/players GET All Players levels information
/api/players/:id GET Player level information
/api/players/:idName GET Player level information
/api/random-deck GET Get a Random deck!

Images

You can get the images too! Thank you MaherFa!

Route Description
/images/arenas/${idName}.png Arenas images
/images/cards/${idName}.png Cards images
/images/chests/${idName}.png Chests images
/images/leagues/${idName}.png Leagues 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 ❤️ 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

APP DESCRIPTION LINK
Randeck Simple web app that generates random decks. Go!
Royale Plus Facebook for Clash Royale players. Git! Go!
BarrePolice A Telegram Bot based on plugins written in Lua Go! & send /cr
Clashapi NPM package to consume this API Go!
Deck it Deck builder app designed for Android Go!
Deck Generator for Echo Devices Alexa skill to suggest a deck for clash royale for Amazon's Echo devices Go!
Clash Royale Discord Bot A Discord bot that displays informations depending of commands Go!
Deck Royale A SPA using Vue that generates random decks. Git! Go!
ClashElite Simple app that gives info on chest cycles and generates random decks with copy and share feature. Go!

Made with ❤️ 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.

clash-royale-api's People

Contributors

amirsavand avatar barreeeiroo avatar deepanshsachdeva avatar gillchristian avatar hzooly avatar ikenami avatar maherfa avatar martincarrera avatar redman1037 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.