Skip to content

Gr3q/node-asana-api

Repository files navigation

node-asana-api

Asana API client.

Generated with GitHub - ferdikoomen/openapi-typescript-codegen: NodeJS library that generates Typescript or Javascript clients based on the OpenAPI specification.

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published