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.
Add to project's package.json:
npm install @rantalainen/lemonsoft-api-client
const { LemonsoftApiClient } = require('@rantalainen/lemonsoft-api-client');import { LemonsoftApiClient } from '@rantalainen/lemonsoft-api-client';const lemonsoft = new LemonsoftApiClient(
{
userName: 'example@example.com',
password: 'password',
database: 'LemonDBx',
apiKey: 'api_key'
},
{
baseURL: 'https://rest-s01-prod02.lemonsoft.eu/Lemonsoft30'
}
);Available methods can be found in the API documentation.