A Flask application using the Google Calendar API to give users an insight as to how they are spending their time. Features include event keyword search and graphical representations of time spent in different activities.
Use the requirements.txt file to pip install the dependencies.
Create a set of credentials using Google Developer API console
Download the credentials.json file to the root of the project.
- Python 3
- An IDE that supports development of a Flask application e.g. PyCharm
You will need to set FLASK_APP, FLASK_ENV and SECRET KEY; which are pre-requisite variables of Flask. For development you will need to set the following:
- OAUTHLIB_INSECURE_TRANSPORT=1
- REDIRECT_URI=http://127.0.0.1:5000/authenticate
- ROOT_URL=http://127.0.0.1:5000
- OAUTH_CREDENTIALS={name of your credentials.json file}
To run the tests, use python -m pytest. To collect coverage, add a --cov=app flag to the command.
- Flask - The web framework used
- Google Calendar API
- Alice King - kingarj