API Documentation
Welcome to the Gspace API documentation. You'll find comprehensive guides and documentation to help you start working with Gspace as quickly as possible, as well as support if you get stuck.
We have divided the documentation into two parts: the Example Application and the API Docs.
Getting started
If you're new to Gspace, we recommend starting with the Example Application. It provides a comprehensive walkthrough of building a real-world application with Gspace, covering authentication, service integration, and best practices.
If you're already familiar with Google Workspace APIs or want to dive straight into the technical details, check out the API Reference. It contains detailed documentation for all classes, methods, and utilities.
Example Application
Getting Started
Learn how to set up your project and make your first API call.
Read more →Authentication and Authorization
Understand OAuth2 and Service Account authentication flows.
Read more →Calendar Service
Create, manage, and query calendar events with ease.
Read more →Gmail Service
Send emails, search messages, and manage your inbox programmatically.
Read more →Drive Service
Upload, download, and manage files in Google Drive.
Read more →Error Handling
Best practices for handling errors and retries in your application.
Read more →Webhooks
Set up real-time notifications for Google Workspace events.
Read more →Rate Limiting
Understand and implement rate limiting strategies.
Read more →API Docs
Installation
Learn how to install Gspace and set up your environment.
Read more →GSpace Client
The main client class for accessing Google Workspace services.
Read more →The Request Object
Understanding request objects and their properties.
Read more →Calendar API
Complete reference for the Calendar service methods.
Read more →Gmail API
Complete reference for the Gmail service methods.
Read more →Drive API
Complete reference for the Drive service methods.
Read more →Utilities
Helper classes and utilities for common tasks.
Read more →