Search code examples
pythondjangoapigoogle-cloud-platformgoogle-calendar-api

How to fetch events from Google Calendar API in Django?


Hey I am beginner in working with API's, I am trying to make a webapp which basically begins with Oauth login, and then fetches the events from Calendar. I made a basic login page with the help of this blog.

Now I am not sure how do I begin with? How do I use Google Calendar API's to fetch events. If someone could guide or provide some resources for beginners it would be great.

Thanks!


Solution

  • Just a self-plug:

    There is the Google Calendar Simple API (gcsa) for Python (developed by me and other contributors). It is simple and Pythonic, object-oriented. It handles credentials, JSON formatting, datetimes/timezones, recurrence, etc. for you. Here is the Getting started page.