Official SDKs
NexaTech maintains official SDKs for the following languages. All SDKs are open-source and accept community contributions.
| Language | Package | Version |
|---|---|---|
| JavaScript/TypeScript | @nexatech/sdk | 3.4.1 |
| Python | nexatech | 2.8.0 |
| Go | github.com/nexatech/go-sdk | 1.12.3 |
| Java | io.nexatech:sdk | 2.3.0 |
| Ruby | nexatech | 1.7.2 |
JavaScript example
import { NexaTech } from '@nexatech/sdk';
const client = new NexaTech({ apiKey: process.env.NEXATECH_API_KEY });
const products = await client.catalog.list({ category: 'compute', page: 1 });
console.log(products.data);
Python example
from nexatech import NexaTech
client = NexaTech(api_key=os.environ['NEXATECH_API_KEY'])
products = client.catalog.list(category='compute')
print(products.data)