mirror of
https://github.com/LukeHagar/Dokploy-ts-sdk.git
synced 2025-12-06 04:19:37 +00:00
18 lines
334 B
Markdown
18 lines
334 B
Markdown
<!-- Start SDK Example Usage [usage] -->
|
|
```typescript
|
|
import { Dokploy } from "dokploy";
|
|
|
|
const dokploy = new Dokploy({
|
|
authorization: process.env["DOKPLOY_AUTHORIZATION"] ?? "",
|
|
});
|
|
|
|
async function run() {
|
|
const result = await dokploy.admin.getOne();
|
|
|
|
console.log(result);
|
|
}
|
|
|
|
run();
|
|
|
|
```
|
|
<!-- End SDK Example Usage [usage] --> |