Skip to content

goshippo/shippo-javascript-sdk-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shippo logo Shippo Javascript SDK demo

  • Collect shipping rates offered by the carriers configured in your Shippo account
  • Use a selected rate to request a label
  • Download the label for use in shipping your package

Running the code

Before you run this code, you will need to have performed the below steps:

  1. Install a recent version of Python 3 (this sample was written using 3.10)
  2. Create a Shippo Account
  3. Generate a Shippo API Token. Since this is a sample app, it is recommended that you generate a test token rather than a production (i.e., paid) token.
  4. Update the code in shippo-python-sdk-demo.py to use your token
  // Put your real token below...
  const sdk = new Shippo({ apiKeyHeader: "shippo_test_0123456789abcdef0123456789abcdef01234567"});  
  1. Install pre-requisites
npm install
  1. Run the sample!
npm start

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published