0.24.0 • Published 8 months ago

shipstation-node v0.24.0

Weekly downloads
94
License
MIT
Repository
github
Last release
8 months ago

shipstation-node

Unofficial Shipstation API Wrapper for Node.js

This project is currently a work in progress and contributors are welcome! 👋

Usage

  • Set the following env variables for our Shipstation account:
    • SS_API_KEY (your Shipstation API Key)
    • SS_API_SECRET (your Shipstation API secret)
import ShipStation from 'shipstation-node'

// Create instance
const shipstation = new ShipStation()

// Get all orders
const orders = await shipstation.orders.getAll()

// Get order by id
const order = await shipstation.orders.get(1244)
  • Optionally, set Shipstation credentials through the options:
    • apiKey (your Shipstation API Key)
    • apiSecret (your Shipstation API secret)
const shipstation = new ShipStation({
  apiKey: '<key>',
  apiSecret: '<secret>'
})
  • Optionally, Retry Shipstation API failures via:
    • Set retry true to enable default options
    • OR provide an object with any options supported by axios-retry
const shipstation = new ShipStation({
    // default retry config
    retry: true,

    // OR custom 
    retry: { retries: 3 }
})
0.24.0

8 months ago

0.21.0

10 months ago

0.23.0

9 months ago

0.22.0

10 months ago

0.20.0

11 months ago

0.19.0

1 year ago

0.18.0

2 years ago

0.16.0

2 years ago

0.17.0

2 years ago

0.15.0

3 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.12.0

4 years ago

0.11.2

4 years ago

0.11.1

5 years ago

0.11.0

5 years ago

0.10.0

5 years ago

0.9.2

5 years ago

0.9.1

5 years ago

0.9.0

5 years ago

0.8.0

5 years ago

0.7.0

5 years ago

0.6.0

6 years ago

0.5.1

6 years ago

0.5.0

6 years ago

0.4.0

6 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago

0.1.0

7 years ago

0.0.1

7 years ago