pennylane-openapi-client
v0.0.5
Published
Pennylane openapi client
Downloads
9
Maintainers
Readme
Pennylane OpenApi clients
Global configuration
export PENNYLANE_API_KEY=YOUR_PENNYLANE_API_KEY
Typescript
Install
npm i pennylane-openapi-client
yarn add pennylane-openapi-client
pnpm install pennylane-openapi-client
Setup
pnpm install
pnpm build
Usage
pnpm start
Developers
Regenerate client
Download the customer invoicing schema:
wget https://pennylane.readme.io/openapi/6346dc5b089f12000f474e75 -O schema.json
Other schema can be found at https://pennylane.readme.io/openapi.
Typescript
pnpx openapi-typescript-codegen --input schema.json --output client/typescript --name PennylaneAPIClient