1.1.0 • Published 12 months ago

dutyskip v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
12 months ago

DutySkip API for Node.js

Version

Node.js / Typescript Module for DutySkip API

DutySkip API

https://docs.dutyskip.com/api/

Install

Use pnpm to install the module

pnpm install dutyskip

Or use npm to install the module

npm install dutyskip

Or use yarn to install the module

yarn add dutyskip

Usage

HS Classification Search

Sample Request

import Dutyskip from 'dutyskip'
const dutyskip = new Dutyskip('<api-key>')

void (async () => {
  const results = await dutyskip.hs.search({ q: 'chapstick', country: 'canada' })
  console.log(results)
})()

Sample Response

{
  "numResults": 1,
  "items": [
    {
      "code": "3304.99.90.90",
      "description": "Other",
      "subheading": "3304.99",
      "duty": "6.5",
      "pga": [
        {
          "agency": "HC"
          "program": "Consumer Product Safety",
        },
        {
          "agency": "HC",
          "program": "Human Drugs",
        },
        {
          "agency": "HC",
          "program": "Consumer Product Safety",
        }
      ],
      "descriptionPath": "Beauty or make-up preparations and preparations for the care of the skin (other than medicaments), including sunscreen or sun tan preparations; manicure or pedicure preparations. > Other: > Other > Other > Other"
    }
  ]
}
1.1.0

12 months ago

1.0.5

12 months ago

1.0.4

12 months ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago