TypeScript / Node.js SDK

@pontx/dida365

The operator-published SDK for Dida365 Open API. Documentation and package releases share the same approved OAS.

v0.1.1Node.js ≥ 18ESM + CommonJSTypeScript declarations

Install and call

The SDK is produced by Pontx and typechecked and built before publication.

Install SDK
pnpm add @pontx/dida365
TypeScript usage
import { Dida365OAuthClient } from "@pontx/dida365";

const client = new Dida365OAuthClient({
  client_id: process.env.DIDA365_CLIENT_ID!,
  client_secret: process.env.DIDA365_CLIENT_SECRET!
});
await client.authenticate();
const accessToken = await client.getAccessToken();

Command-line access

This npm package also publishes a dedicated CLI for the API. Use dry-run to inspect parameters, then supply your own provider credentials when required.

Dedicated API CLI
pnpm add --global @pontx/dida365

pontx-dida365 call project.getUserProjects --dry-run