Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 417 Bytes

File metadata and controls

26 lines (20 loc) · 417 Bytes
```typescript Typescript/Javascript import Kernel from '@onkernel/sdk';

const client = new Kernel({ apiKey: 'My API Key', });

const proxy = await client.proxies.create({ type: 'datacenter' });

console.log(proxy.id);



```python Python
from kernel import Kernel

client = Kernel(
    api_key="My API Key",
)
proxy = client.proxies.create(
    type="datacenter",
)
print(proxy.id)