@tapni/sendcloud
v1.0.1
Published
implementation of sendcloud API
Downloads
201
Readme
SendCloud API Nodejs Wrapper
This wrapper helps you to easily connect to the SendCloud API.
https://www.sendcloud.fr/
Documentation
You can check the documentation of sendcloud at this url.
Installation
npm install @tapni/sendcloud
Example
const SendCloud = require('@aquilacms/sendcloud').default;
const sendCloud = new SendCloud({
api_key: '<YOUR_API_KEY>',
api_secret: '<YOUR_API_SECRET>'
})
try {
const result = await sendCloud.parcels.getParcels()
console.log(result)
} catch (err) {
console.error(err)
}