@climatepartner/climatepartner-api-sdk
v1.6.3-apiSpec.1.6.2
Published
The ClimatePartner API provides one uniform public API to customers of ClimatePartner.
Downloads
583
Readme
@climatepartner/climatepartner-api-sdk
The ClimatePartner API provides one uniform public API to customers of ClimatePartner. Our vision is to make the rich feature set of the ClimatePartner products available to our customers and other third parties through API’s and other technologies.
Documentation
For more information on this package please read the public documentation https://climatepartner.gitbook.io/climatepartner-api
Setup
yarn add @climatepartner/climatepartner-api-sdk
npm i @climatepartner/climatepartner-api-sdk
Usage
For typescript users
import { ClimatePartnerApi } from '@climatepartner/climatepartner-api-sdk'
const climatePartnerApi = new ClimatePartnerApi({
longtermToken: 'longtermToken',
endpointUrl: 'endpointUrl',
authorizationStoragePath: '/path/to/file.json',
})
const test = climatePartnerApi.getOrderService()
For javascript users
const { ClimatePartnerApi } = require('@climatepartner/climatepartner-api-sdk')
const climatePartnerApi = new ClimatePartnerApi({
longtermToken: 'longtermToken',
endpointUrl: 'endpointUrl',
authorizationStoragePath: '/path/to/file.json',
})
const test = climatePartnerApi.getOrderService()
Limitations
Please do not define "type": "module" in your package.json file