SkillAgentSearch skills...

Postnord

Track PostNord letters, parcels and pallets by their item ID number

Install / Use

/learn @gillstrom/Postnord
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

postnord Build Status

Track PostNord letters, parcels and pallets by their item ID number

<img src="https://cloud.githubusercontent.com/assets/972551/14539645/804ca1e4-0281-11e6-9ec3-06c444e25fd3.png" width="500px"/>

CLI

$ npm install --global postnord
$ postnord --help

  Usage
    $ postnord [ID]

  Options
    -a, --apikey    PostNord API key
    -l, --locale    Default is en. Allowed values are en, sv, no, da and fi

  Example
    $ postnord 12371563697SE

Install

$ npm install --save postnord

Usage

const postnord = require('postnord');

postnord('12371563697SE', {apikey: 'aa956a2d13a54a152dba849b76288cf4'}).then(result => {
	console.log(result);
	//=> {'TrackingInformationResponse': {'shipments': [ ...}
});

API

postnord(ID, [options])

Returns a promise that resolves in to an object.

ID

Required<br> Type: string

The item ID to track.

options

apikey

Type: string<br> Default: My own, please use your own.

The unique PostNord API key.

locale

Type: string<br> Default: 'en'

Returns the result in different languages. Allowed values are 'en', 'sv', 'no', 'da' and 'fi'.

License

MIT © Andreas Gillström

View on GitHub
GitHub Stars13
CategoryDevelopment
Updated3y ago
Forks2

Languages

JavaScript

Security Score

75/100

Audited on Mar 10, 2023

No findings