@rantalainen/lemonsoft-api-client
v1.0.1
Published
**LemonsoftApiClient** is a third party [Lemonsoft API](https://www.lemonsoft.fi/) client for NodeJS. It is a wrapper around an API client that has been [automatically generated](https://www.npmjs.com/package/swagger-typescript-api) using the [OpenAPI sch
Downloads
6
Maintainers
Keywords
Readme
lemonsoft-api-client
LemonsoftApiClient is a third party Lemonsoft API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by Lemonsoft.
Installation
Add to project's package.json:
npm install @rantalainen/lemonsoft-api-client
Import to NodeJS project
const { LemonsoftApiClient } = require('@rantalainen/lemonsoft-api-client');
Import to TypeScript project
import { LemonsoftApiClient } from '@rantalainen/lemonsoft-api-client';
Setup client with options
const lemonsoft = new LemonsoftApiClient(
{
userName: '[email protected]',
password: 'password',
database: 'LemonDBx',
apiKey: 'api_key'
},
{
baseURL: 'https://rest-s01-prod02.lemonsoft.eu/Lemonsoft30'
}
);
Available methods can be found in the API documentation.