0.6.2 • Published 2 years ago

dhl-api v0.6.2

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
2 years ago

DHL API for Javascript

The DHL API Javascript client implementation.

const dhlAPI = require("dhl-api");

// instance the API client with defaults
const dhl = new dhlApi.API({
    username: "mydhlaccount",
    password: "mydhlaccountpassword",
});

// example: request tracking information
const tracking = await api.getTracking("7798339175");

Configuration

NameTypeDefaultDescription
DHL_BASE_URLstrhttps://express.api.dhl.com/mydhlapi/The base URL that is going to be used for DHL API connections.
DHL_USERNAMEstrNoneThe DHL API username to be used for authentication
DHL_PASSWORDstrNoneThe DHL API password to be used for authentication

License

DHL API for Javascript is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status Build Status GitHub npm Status License

0.6.2

2 years ago

0.6.1

2 years ago

0.6.0

2 years ago

0.5.0

2 years ago

0.4.0

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago