A rest API built in Django to access Google calendar using OAuth 2.0
- Python 3.x
- Django 3.x
- Google developer console account
- A google calendar
-
Clone the repository.
-
Install pipenv and create a new django project in a virtual environment.
-
Install the dependencies
-
Create a project in the Google developer console and enable the Google Calendar API.
-
In the developer console, navigate to the Credentials page, create a new OAuth client ID, and specify authorized redirect URIs.
-
Set the client_id, client_secret, and redirect_uri in the settings.py file.
-
Set the url for the views in your urls.py file.
-
Start the development server python3 manage.py runserver