This is the backend api used by https://github.com/opengamedata/opengamedata-website
Steps to run:
- Ensure you have Python and pip installed in your development environment.
- From the app's root directory run
pip install -r requirements.txt
to ensure you have Flask and other dependencies installed for the app. - If you don't have a config/config.py file for local development, copy config/config.py.template to config/config.py to create one. Populate config.py with secret values as needed.
- Run
flask run
orflask run --debug
. - A web server should be running at http://localhost:5000
/getGameUsageByMonth
Query string params: game_id, year, month
/getGameFileInfoByMonth
Query string params: game_id, year, month