@aquilacms/sendcloud

implementation of sendcloud API

Usage no npm install needed!

<script type="module">
  import aquilacmsSendcloud from 'https://cdn.skypack.dev/@aquilacms/sendcloud';
</script>

README

sendcloud logo

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