2.0.0 • Published 2 years ago

courier-api v2.0.0

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

courier-api

Node.js module that interfaces with Greek courier companies.

Current supported couriers

Install

npm i courier-apior yarn add courier-api

Usage example

const DHL = new (require("courier-api").speedex);
// or
const {DHL} = require("courier-api");
// It's the same for the other supported couriers

DHL.get("TRACK_ID").then((response) => {
	/* your code here */
}).catch(console.error);
// or
(async () => {
	const data = await DHL.get("TRACK_ID");
	/* your code here */
})();

// same goes for the other couriers!
2.0.0

2 years ago

1.1.4

2 years ago

1.1.3

3 years ago

1.1.2

3 years ago

1.1.1

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago