# Google Calendar API

Google's calendar API can be used to get calendar events of a user after (s)he has authorized the app.

### Learnings

* Very easy to use. The [Quickstart guide](https://developers.google.com/calendar/quickstart/ios) was very helpful
* Tried it during the QBSE mobile hack-day 3/30/18 to match calendar events to unreviewed trips.
* Made a working demo of the code
* Pranay registered the iOS app in QBSE's Google developer account and thus got the client id.
  * here is the plist - [https://files.slack.com/files-pri/T7AN7J5RP-F9YMD0YDA/client\\\_1012179567841-13araloiq5ofplb08ovcmkup4vk4di70.apps.googleusercontent.com.plist](https://files.slack.com/files-pri/T7AN7J5RP-F9YMD0YDA/client/_1012179567841-13araloiq5ofplb08ovcmkup4vk4di70.apps.googleusercontent.com.plist)

### References

* Quick start guide - <https://developers.google.com/calendar/quickstart/ios>
* API explorer to try the APIs without writing any code - [https://developers.google.com/apis-explorer/\\#s/calendar/v3/calendar.events.list](https://developers.google.com/apis-explorer//#s/calendar/v3/calendar.events.list)
* Google Places API - <https://developers.google.com/places/ios-api/>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://kb.annjose.com/miscellaneous/google-calendar-api.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
