Problem: In this assignment you have to implement google calendar integration using django rest api. You need to use the Auth2 mechanism to get users calendar access. Below are detail of API endpoint and corresponding views which you need to implement /rest/v1/calendar/init/ -> GoogleCalendarInitView() This view should start step 1 of the OAth. Which will prompt user for his/her credentials /rest/v1/calendar/redirect/ -> GoogleCalendarRedirectView() This view will do two things
- Handle redirect request sent by google with code for token. You need to implement mechanism to get access token from given code
- Once got the access token get list of events in users calendar