1.0.0 • Published 4 years ago
@aquilacms/sendcloud v1.0.0
SendCloud API Nodejs Wrapper
This wrapper helps you to easily connect to the SendCloud API.
Documentation
You can check the documentation of sendcloud at this url.
Installation
npm install @aquilacms/sendcloud
Example
const SendCloud = require('@aquilacms/sendcloud')
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)
}
1.0.0
4 years ago