Glean API Clients
Glean offers official API clients for several popular programming languages to help developers integrate Glean’s powerful search and knowledge capabilities into their applications. These clients provide language-specific interfaces to Glean’s APIs, making it easier to build custom solutions without having to handle the low-level HTTP requests.
This page provides information about our official API clients and instructions for installing and using them in your preferred programming language.
Official API Clients
Glean provides official API clients for the following languages:
Python
Python API client for Glean
TypeScript
TypeScript/JavaScript API client for Glean
Go
Go API client for Glean
Java
Java API client for Glean
Installing the API Clients
Install the Python client
Or using Poetry:
Initialize the client
Example usage
Install the Python client
Or using Poetry:
Initialize the client
Example usage
Install the TypeScript client
Or using Yarn:
Initialize the client
Example usage
Install the Go client
Initialize the client
Example usage
Add dependency to your project
Maven:
Gradle:
Initialize the client
Example usage
Additional Resources
For more detailed information about using these API clients, please refer to the documentation in their respective GitHub repositories: