Interact with our global infrastructure programmatically. First-party libraries for Python, Go, and Node.js, plus community-supported packages.
Full-featured library with async support, type hints, and automatic retry logic. Ideal for Django, Flask, and FastAPI apps.
First-class TypeScript support, streaming responses, and tree-shaking compatible. Works in Node 18+ and modern browsers.
High-performance client optimized for microservices. Includes context propagation, structured logging, and generated types.
Manage servers, databases, and deployments from your terminal. Supports scripting, JSON output, and tab completion.
Provision CloudNexus resources as code. Manage VPCs, instances, and networking with declarative configuration.
Unofficial SDK maintained by the community. Great integration with Rails and Sinatra applications.
Raw HTTP access to all CloudNexus features. Fully documented with OpenAPI 3.0 spec available.
Initialize the client and spin up a server in seconds.
import cloudnexus as cn # Initialize the client client = cn.Client( api_key=os.environ["CN_API_KEY"], region="us-east-1" ) # Create a new VPS instance server = client.servers.create( name="production-api", plan="cn-pro-2x", image="ubuntu-22.04", tags=["production", "api"] ) print(f"Server {server.id} created at {server.ip}")
const CloudNexus = require('@cloudnexus/sdk'); const client = new CloudNexus({ apiKey: process.env.CN_API_KEY, region: 'us-east-1' }); const server = await client.servers.create({ name: 'production-api', plan: 'cn-pro-2x', image: 'ubuntu-22.04', tags: ['production', 'api'] }); console.log(`Server ${server.id} created at ${server.ip}`);
package main import ( "context" "os" "github.com/cloudnexus/sdk-go/v1" ) func main() { client := cn.NewClient(os.Getenv("CN_API_KEY")) server, err := client.Servers.Create( context.Background(), &cn.CreateServerRequest{ Name: "production-api", Plan: "cn-pro-2x", Image: "ubuntu-22.04", }, ) fmt.Printf("Server %s created at %s\n", server.ID, server.IP) }
Automatic API key encryption, scoped permissions, and audit logs built-in.
Exponential backoff and circuit breakers handle transient network errors.
Structured logging and OpenTelemetry integration out of the box.
SDKs are code-generated from the OpenAPI spec for perfect parity.