Fivaldi Api Client is a third party Fivaldi API client for NodeJS. It is a wrapper around an API client that has been automatically generated using the OpenAPI schema provided by Fivaldi.
Add to project's package.json:
npm install @rantalainen/fivaldi-api-client
import { FivaldiApiClient } from '@rantalainen/fivaldi-api-client';In order to obtain partner ID and partner secret, please contact Fivaldi Support. Partner id and partner secret are needed to access API functions. More information from Fivaldi docs.
const fivaldi = new FivaldiApiClient(
{
partnerId: 'yourPartnerId',
partnerSecret: 'yourPartnerSecret',
// Optional arguments related to rate limiting
replenishRate: 2,
burstCapacity: 10
},
{
// Optional config options
baseURL: 'https://api.fivaldi.net/customer/api',
timeout: 120000,
keepAliveAgent: true,
dnsCache: true
}
);Available methods can be found in the API documentation.
- Fivaldi website: https://www.visma.fi/visma-fivaldi/
- Fivaldi API Documentation: https://support.fivaldi.fi/support/solutions/articles/77000567542-fivaldi-api
- Fivaldi API Documentation (swagger): https://manuals.fivaldi.net/customer/api/index.html