Skip to main content

Why use an SDK instead of raw requests

You can call the API directly — but the SDK handles the boilerplate you’d otherwise have to write yourself.
What the SDK does for youWithout SDK
Typed methods with IDE autocompleteManual request building from documentation
Automatic token and header injectionSetting up authorization in every request yourself
Built-in retries on network errors and rate limitsWriting your own retry logic
Updates alongside the API — nothing breaks silentlyTracking API changes manually
The SDK is the recommended way to integrate. Direct API requests are best for quick tests or languages without an SDK yet.

Available SDKs

Python

gmt-python-sdk on PyPI

TypeScript

gmt-typescript-sdk on npm

Installation

pip install gmt-python-sdk

Using the API directly

If the SDK doesn’t fit your use case, the API is available without restrictions. Full endpoint reference is in the API tab. You can also download the OpenAPI spec.