node-asana-api
v1.0.2
Published
Typescript client for Asana API
Downloads
557
Maintainers
Readme
node-asana-api
Asana API client.
I will try to keep the package up to date with new released versions.
Requires Node16+.
To install
npm i node-asana-api
To use
import { AsanaApi } from "node-asana-api";
const client = new AsanaApi({
BASE: 'https://app.asana.com/api/1.0',
WITH_CREDENTIALS: true,
TOKEN: ""
});
Development
Generated with (from repo folder):
cd ..
npm --global -i openapi-typescript-codegen
openapi -c fetch -o ./node-asana-api/ -i https://raw.githubusercontent.com/Asana/developer-docs/master/defs/asana_oas.yaml --name="AsanaApi" --useOptions
Then manually fix duplicates in services/ProjectStatusesService.ts
because of an issue in codegen. I'm short on time to fix the generator atm.