| SDK | Package | Source | Requirements |
|---|---|---|---|
| Python | gcore on PyPI | gcore-python | Python 3.9+ |
| Go | github.com/G-Core/gcore-go | gcore-go | Go 1.22+ |
Choosing a client
All options call the same API — the choice depends on the context:| Situation | Recommendation |
|---|---|
| Scripting, automation, CI/CD | Python SDK or Go SDK |
| One-off inspection, debugging | curl or HTTPie |
| Shell scripts | curl |
| Production Node.js services | JavaScript fetch or axios (see below) |
| Production Python services | Python SDK (sync or async) |
| Production Go services | Go SDK |
| Terraform-managed infrastructure | Terraform provider |
SDK coverage
The Python and Go SDKs cover the full API surface: Cloud (instances, volumes, networking, Kubernetes, load balancers, and more), IAM, CDN, DNS, Object Storage, FastEdge, Streaming, and WAAP. All Cloud API endpoints have auto-generated SDK methods. The API reference code samples show the exact method name for each endpoint.JavaScript
No dedicated JavaScript SDK is published. Use the built-infetch API (Node.js 18+, all modern browsers) or axios.
fetch (Node.js 18+)
axios
Handle async operations
Cloud API write operations return a task ID. Poll it untilstate is FINISHED: