Test Google Calendar API
- Register Google API account
- Create new project
- Go to credentials page: https://console.developers.google.com/apis/credentials
- Create credentials-->OAuth client ID
- Application type: Web application
- Create
- Authorized redirect URIs: http://localhost:8080/
- Save
- Download JSON
- Save JSON to project folder as
client_secrets.json, keep content of that file in secret
Run on a local PC:
python3 -m venv env
. env/bin/activate
pip3 install -r requirements.txt
pytestYou have to grant access to the application manually for the first time in the web browser page
Python 3.7 is fully supported and tested.