SDKs and client libraries
Official libraries for Truehost APIs.
Use an official library to call Truehost APIs with typed requests, retries and pagination built in.
| Language | Package | Install |
|---|---|---|
| Node.js | @truehost/sdk |
npm install @truehost/sdk |
| PHP | truehost/sdk |
composer require truehost/sdk |
| Python | truehost |
pip install truehost |
Example
import { Truehost } from '@truehost/sdk';
const client = new Truehost({ apiKey: process.env.TRUEHOST_API_KEY });
const domains = await client.domains.list();
Still need help?Open a support ticket