1.4.0-apiSpec.1.4.0 • Published 4 months ago
@climatepartner/climatepartner-api-sdk v1.4.0-apiSpec.1.4.0
@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
1.4.0-apiSpec.1.4.0
4 months ago
1.3.1-apiSpec.1.3.0
4 months ago
2.0.0-apiSpec.2.0.0
8 months ago
1.3.0-apiSpec.1.3.0
8 months ago
1.2.1-apiSpec.1.2.1
11 months ago
1.2.0-apiSpec.1.2.0
12 months ago
1.1.0-apiSpec.1.1.0
1 year ago
1.0.2-apiSpec.1.0.1
1 year ago
1.0.1-apiSpec.1.0.1
2 years ago
1.0.0-apiSpec.1.0.0
2 years ago