Skip to content

AquilaCMS/sendcloud

Repository files navigation

sendcloud logo

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 @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)
}