TypeScript / Node.js SDK
@pontx/dida365
The operator-published SDK for Dida365 Open API. Documentation and package releases share the same approved OAS.
Install and call
The SDK is produced by Pontx and typechecked and built before publication.
pnpm add @pontx/dida365import { 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.
pnpm add --global @pontx/dida365
pontx-dida365 call project.getUserProjects --dry-run