API that parses through Tafo H2H 2018 stats and converts it to json
Set up your virtual environment (I personally use venv if you use to conda or virtualenv then it will be a bit different)
python3 -m venv env
source env/bin/activate
Install the packages
pip install -r requirements.txt
Create the env variable
export FLASK_APP=api.py
export FLASK_DEBUG=1
Run the api
flask run
- melee.py contains the function to query the csv file
- api.py is the main flask app
- clean.py cleans tafo's data (currently only turns everything to lowercase)
- will try to decrease the amount of manual changes and add them to clean.py
- removed the first 2 columns that contained their past and current ranks
- added underscores to peoples names with spaces
- removed the last columns about SET COUNT
- Flask
-Just remembered that google sheets has an api, so I'll probably rewrite everything in node/js