Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 366 Bytes

USAGE.md

File metadata and controls

20 lines (15 loc) · 366 Bytes
import { Shippo } from "shippo";

const shippo = new Shippo({
  apiKeyHeader: "<YOUR_API_KEY_HERE>",
  shippoApiVersion: "2018-02-08",
});

async function run() {
  const result = await shippo.addresses.list();

  // Handle the result
  console.log(result);
}

run();