Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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
- Created: 2024-03-19T07:53:47.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-09-09T19:43:39.000Z (5 months ago)
- Last Synced: 2024-09-10T00:10:59.104Z (5 months ago)
- Topics: invoicing, openapi, pennylane
- Language: TypeScript
- Homepage: https://pennylane.readme.io/docs/getting-started
- Size: 42 KB
- Stars: 0
- Watchers: 3
- 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 [![NPM](https://img.shields.io/npm/v/pennylane-openapi-client)](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
```