Socket
Book a DemoInstallSign in
Socket

yodel-tracking

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

yodel-tracking

Get the tracking history for a Yodel parcel

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

yodel-tracking

Track your Yodel parcel

Install

$ npm install --save yodel-tracking

Usage

var yt = require('yodel-tracking');

yt('YOL123456', 'GB', function (err, result) {
    if (!err) {
        console.log(result);
    }
});

API

yt(parcelNumber, country, [date], cb)

If successful returns a tracking history object.

parcelNumber

Type: string

The parcel tracking number.

country

Type: string

A valid IATA country code (e.g. GB, IE, MA etc...).

date

Type: string

The dispatch date in the following format: YYYY-mm-dd.

cb

Type: function

The callback function (see above usage).

License

MIT Ossama Edbali

Keywords

tracking

FAQs

Package last updated on 31 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts