Skip to content

goshippo/shippo-java-sdk-demo

Repository files navigation

Shippo logo Shippo Java SDK demo

  • Collect shipping rates offered by the carriers configured in your Shippo account
  • Use a selected rate (this code looks for the lowest 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 Java (this sample was written using JDK11)
  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. Create an app.properties file at app/src/main/resources/app.properties with an apiKey property with your token as its value:
  apiKey=shippo_test_0123456789abcdef0123456789abcdef01234567                     
  1. Run the sample!
gradle run

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages