GPTfake SDKs
Official client libraries wrap the GPTfake REST API so you can pull live censorship and bias data in a few lines — they handle authentication, retries, and pagination for you. Two SDKs are supported.
At a glance
| Python | JavaScript | |
|---|---|---|
| Install | pip install gptfake-sdk | npm install @gptfake/sdk |
| Import | from gptfake import GPTfakeClient | import { GPTfakeClient } from '@gptfake/sdk' |
| Runtime | Python 3.8+ | Node 18+ / modern browsers (server-side keys only) |
Both SDKs target the same endpoints and accept either an API key or an OAuth 2.0 access token.
Next steps
- Python SDK guide
- JavaScript SDK guide
- Back to the API overview