FlaskPyrezAPI is an endpoint for custom commands (Twitch), that provides data about players, matches and others stats of the game Paladins. It uses Pyrez, my Python wrapper for Hi-Rez Studios API.
- English, Polish, Portuguese and Spanish language support.
- Access to Hi-Rez Studios API.
For support using Pyrez, please join the official support server on Discord.
- Clone this repository:
git clone https://github.com/luissilva1044894/FlaskPyrezAPI.git cdinto it:cd FlaskPyrezAPI- Create a virtualenv:
virtualenv -p python venv - Activate it.
- Install Python Dependencies:
pip install --upgrade pip setuptools wheel|pip install -r requirements.txt - Edit
.envand replace thePYREZ_AUTH_IDandPYREZ_DEV_IDwith theauthIdanddevIdthat you receive fromHi-Rez Studios. - Run:
python manage.py db migrate - Run server:
python main.py runserver - Go to your browser and point it towards
http://127.0.0.1:5000
- Go to Heroku and create a new app (eg:
your-app-name) - Install Heroku CLI
heroku logingit initheroku git:remote -a your-app-name- Download this repo and copy all files into
your-app-namefolder - Edit
.envand replace thePYREZ_AUTH_IDandPYREZ_DEV_IDwith theauthIdanddevIdthat you receive fromHi-Rez Studios. heroku config:pushgit add .git commit -m "Going to Heroku"git push heroku masterheroku run python manage.py db migrateheroku openand a window will open with your app online
Lukash (Paladins Poland)- Polish translation.
This is an open source
project provided under the MIT License, which you can view in LICENSE file.
Raw data provided by Hi-Rez Studios API and is thus their property. © 2019 Hi-Rez Studios, Inc. All rights reserved.
