@rantalainen/procountor-api-client
v1.5.0
Published
**ProcountorApiClient** is a third party [Procountor API](https://dev.procountor.com/api-reference/) client for NodeJS. It is a wrapper around an API client that has been [automatically generated](https://www.npmjs.com/package/swagger-typescript-api) usin
Downloads
123
Maintainers
Keywords
Readme
procountor-api-client
ProcountorApiClient is a third party Procountor API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by Procountor.
Installation
Add to project's package.json:
npm install @rantalainen/procountor-api-client
Import to NodeJS project
const { ProcountorApiClient } = require('@rantalainen/procountor-api-client');
Import to TypeScript project
import { ProcountorApiClient } from '@rantalainen/procountor-api-client';
Setup client with options
In order to obtain an API key, please contact Procountor Support. An API key is needed to access all API functions.
const procountor = new ProcountorApiClient(
{
clientId: 'client_id',
clientSecret: 'client_secret',
apiKey: 'api_key'
},
{
baseURL: 'https://api.procountor.com/api'
}
);
Available methods can be found in the API documentation.
Resources
- Procountor: https://secure.procountor.com/procountor/com/
- Procountor Developer Guide: https://dev.procountor.com/