Reputation: 133
I've been developing an extension that has ability to interact with Google calendar. For example, when I create event on gg cal, it'll send back data to my server at the same time, or I want to inject my html code to creating event screen, capture gg calendar events.. So the question is: is there any kind of library that support those actions (something like inboxsdk for Gmail) ?
Upvotes: 0
Views: 532
Reputation: 6791
I think you can use Google APIs with Chrome extension. You can use chrome.identity
to get OAuth2 access tokens. Then use XMLHttpRequest to call the Google REST APIs as stated in this related SO post and the rest will be your own implementation.
Try checking this github - which lets you quick add an event to Google Calendar. This sample uses OAuth 2.0 and XMLHttpRequest to call Calendar API.
Upvotes: 1