FlaskPyrezAPI
An open-source API for custom commands (Twitch), written in Python and deployed on Heroku.
Install / Use
/learn @luissilva1044894/FlaskPyrezAPIREADME
<div align="center">
<a href="https://github.com/luissilva1044894/FlaskPyrezAPI" title="FlaskPyrezAPI - Github repository" alt="FlaskPyrezAPI · Github repository"><img src="./static/img/pyrez.png" height="96" width="96"></a>
Deploy (Heroku)
FlaskPyrezAPI
</div>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.
Key Features
- English, Polish, Portuguese and Spanish language support.
Requirements
- Access to Hi-Rez Studios API.
Support
For support using Pyrez, please join the official support server on Discord.
Installation
Locally
- 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
Deploy (Heroku) 
- 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
Thanks
Lukash (Paladins Poland)- Polish translation.
License 📝
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.
