Google Calendar v3
Read and write Google Calendar v3 from Delphi. Manage events, free/busy ranges, calendars and access-control lists with service-account or OAuth 2.0 user authentication.
Read and write Google Calendar v3 from Delphi. Manage events, free/busy ranges, calendars and access-control lists with service-account or OAuth 2.0 user authentication.
Typed Google Calendar v3 client — events.list / insert / update / delete, calendars CRUD, freebusy.query, plus the standard service-account or OAuth user auth flows.
TsgcHTTPGoogleCloud_Calendar_Client
Windows, macOS, Linux, iOS, Android
Standard / Professional / Enterprise
Provide a service-account JSON or an OAuth user-token, then call ListEvents, InsertEvent, UpdateEvent and DeleteEvent.
uses
sgcHTTP;
var
Calendar: TsgcHTTPGoogleCloud_Calendar_Client;
begin
Calendar := TsgcHTTPGoogleCloud_Calendar_Client.Create(nil);
Calendar.GoogleCloudOptions.ServiceAccountJSON.LoadFromFile('service-account.json');
// list upcoming events
Memo1.Text := Calendar.ListEvents('primary');
// insert event
Calendar.InsertEvent('primary',
'{"summary":"Quick sync","start":{"dateTime":"2026-05-15T10:00:00Z"},"end":{"dateTime":"2026-05-15T10:30:00Z"}}');
end;
// uses: sgcHTTP
TsgcHTTPGoogleCloud_Calendar_Client *Calendar = new TsgcHTTPGoogleCloud_Calendar_Client(this);
Calendar->GoogleCloudOptions->ServiceAccountJSON->LoadFromFile("service-account.json");
Memo1->Text = Calendar->ListEvents("primary");
A typed client for the Calendar v3 REST surface with the same auth flow as the other Google Cloud components.
ListEvents, GetEvent, InsertEvent, UpdateEvent, PatchEvent, DeleteEvent, QuickAdd map to the events v3 endpoints.
ListCalendars, GetCalendar, InsertCalendar, DeleteCalendar, ListACL, InsertACL manage the calendar list and access-control rules.
FreeBusy queries the freebusy.query endpoint over a list of calendars and a time range — useful for scheduling assistants.
Domain-wide service-account delegation works for Workspace tenants. For consumer accounts pair with TsgcHTTP_OAuth2_Client and supply the user's access token.
Use WatchEvents to register a Calendar webhook (push channel) — the matching incoming notifications can be handled by TsgcWebSocketHTTPServer.
Every method returns the raw Calendar v3 JSON response — no shadow type system — so you can work directly with Google's schemas.
Authoritative sources for the API this component implements.
Enlace directo a la referencia del componente, descarga el proyecto demo listo para ejecutar y la prueba gratuita.
| Online Help — Google Calendar Client Referencia completa de propiedades, métodos y eventos de este componente. | Abrir | |
| Demo Project — Demos\20.HTTP_Protocol\03.Google Proyecto de ejemplo listo para ejecutar. Se incluye en el paquete sgcWebSockets — descarga la prueba gratuita más abajo. | Abrir | |
| Documento técnico (PDF) Características, inicio rápido, ejemplos de código para Delphi y C++ Builder y referencias de fuentes primarias — solo este componente. | Abrir | |
| Manual de usuario (PDF) Manual completo que cubre todos los componentes de la biblioteca. | Abrir |