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
cd
into 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
.env
and replace thePYREZ_AUTH_ID
andPYREZ_DEV_ID
with theauthId
anddevId
that 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 login
git init
heroku git:remote -a your-app-name
- Download this repo and copy all files into
your-app-name
folder - Edit
.env
and replace thePYREZ_AUTH_ID
andPYREZ_DEV_ID
with theauthId
anddevId
that you receive fromHi-Rez Studios
. heroku config:push
git add .
git commit -m "Going to Heroku"
git push heroku master
heroku run python manage.py db migrate
heroku open
and 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.