The last calendar is a custom calendar used to track conferences that has been shared to our user by someone else. The first two are calendars are included by default with all Google accounts: the primary user calendar, which has the user’s email address as the name, and the Emailed Events calendar, which includes all events to which the user has been invited via email. The response is a JSON body that contains a list of the user’s three calendars. In this example, we make a GET request to /calendars, passing the access token for the user account in the request header. "description": "A shared calendar of mathematics industry conferences", $ curl -X GET '' -H 'Authorization: Bearer ACCESS_TOKEN' Each of these event copies will have their own unique IDs for each calendar it appears on, but they will all have an identical iCal UID. Every event on a Google Calendar is associated with one or more calendars, and all events have an organizer with access to the primary copy of the event and any number of attendees who have their own secondary copies of the event. Use the Calendar object when you need to create and delete calendars, or set global properties that are shared across all users with access to the calendar, like the title and default time zone.Įvents are objects that are associated with a specific time or date range and include information like title, description, location, attachments, and attendees, and they can be set for a specific time span, or they can be set for an entire day. Use the CalendarList endpoint when you want to access user-specific calendar properties, such as default reminders and background/foreground colors. The Google Calendar API also includes a CalendarList object: a collection of all calendars to which a user is subscribed. Custom calendars the user has created to track specific types of events.Shared calendars that include multiple people from the same team or company to events.Calendars that belong to other people in the user’s GSuite organization.Users are also able to create any number of secondary calendars and these can be modified, deleted, and shared with any number of users, this can include: Each Google account has a primary calendar that contains the user’s email address as its name this calendar can’t be deleted by the user, but it can be shared with other users. The main organizational components of the Google Calendar API are calendars and events.Ĭalendars are a collection of related events that include relevant metadata like name, description time zone, and more.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |