/Paladins-API

python, paladins API(PC)

Primary LanguagePythonMIT LicenseMIT

Paladins API wrapper

This project is a paladins-api wrapper using python and flask

Installation

Use the package manager pip to install the requirements.

pip install -r requeriments.txt

Configuration

First of all, it's necessary the devId and sessionId, that you can obtain through the Hirez form

then, you need to fill in the blank fields in the app.py file

app.py

devId = ""
sessionId = ""

Usage

Now, to run the application:

python app.py

Routes

/getplayer/player - returns the player info
/getchampions/player - returns the player champions sorted by most played
/getstatus/player - returns the player status
/searchplayers/player - returns all occurrences of a nickname
/getmatches/player - returns the player match history

Contributing

Pull requests are welcome.

License

MIT