@codingsans/billingo-client
v2.1.0
Published
Typescript Billingo Client
Downloads
555
Readme
@codingsans/billingo-client
Promise based Billingo.hu client for Node.JS and Browser written in Typescript from CodingSans
Please open issue if you miss something: https://github.com/CodingSans/billingo-client/issues
Supported Billingo API versions
| Client Version | API Version | API Docs | | -------------- | ----------- | ----------------------------------------------------------------------------- | | 2.1.0 | V3.0.14 | API Documentation | | 1.3.4 deprecated V1 Docs | V3.0.13 | API Documentation | | 1.2.2 deprecated V1 Docs | V3.0.7 | API Documentation |
Installation
Using npm:
$ npm install @codingsans/billingo-client
Using yarn
$ yarn add @codingsans/billingo-client
Example
Using typescript
import { OpenAPI, DocumentService } from '@codingsans/billingo-client';
OpenAPI.HEADERS = {
'X-API-KEY': 'db371188-f0ba-11ec-baa4-0254eb6072a0',
};
DocumentService.listDocument().then(res => console.log({res}))
Available services
BankAccountService
CurrencyService
DocumentBlockService
DocumentExportService
DocumentService
OrganizationService
PartnerService
ProductService
SpendingService
UtilService