https://github.com/drakkar-software/pennylane-openapi-clients
Pennylane api client. Only typescript for now
https://github.com/drakkar-software/pennylane-openapi-clients
invoicing openapi pennylane
Last synced: 4 months ago
JSON representation
Pennylane api client. Only typescript for now
- Host: GitHub
- URL: https://github.com/drakkar-software/pennylane-openapi-clients
- Owner: Drakkar-Software
- License: mit
- Archived: true
- Created: 2024-03-19T07:53:47.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-09-09T19:43:39.000Z (almost 2 years ago)
- Last Synced: 2026-01-15T22:16:58.854Z (5 months ago)
- Topics: invoicing, openapi, pennylane
- Language: TypeScript
- Homepage: https://pennylane.readme.io/docs/getting-started
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pennylane OpenApi clients
## Global configuration
```
export PENNYLANE_API_KEY=YOUR_PENNYLANE_API_KEY
```
## Typescript [](https://www.npmjs.com/package/pennylane-openapi-client)
### 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
```