Skip to content

Consignment Tracker API that scrapes courier sites for data

License

Notifications You must be signed in to change notification settings

RohithCIS/consignment-tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Courier Consignment Tracker API

License: WTFPL Contributors Last Commit PRs Welcome Forks

Description

Scrapes the Courier Sites to obtain consignment tracking data.

  • Unofficial
  • RESTful JSON API

Supports

  • The Professional Couriers
  • DTDC

Usage

  • npm install to install dependencies
  • npm run dev to start server
// GET http://localhost:3000/track/:courier/:id

{
    "status": "In Transit",
    "trackingNumber": "AKM1031506",
    "courier": "The Professional Couriers",
    "activities": [
        {
            "timestamp": "09-01-2021 13:00:47",
            "place": "Tirunelveli",
            "forwardingNumber": "DTVL612134",
            "activity": "Out for Delivery - Area : PPMA"
        },
        {
            "timestamp": "09-01-2021 13:00:47",
            "place": "Tirunelveli",
            "forwardingNumber": "DTVLDTVL6121340",
            "activity": "Out for Delivery - Area : Tirunelveli"
        },
        {
            "timestamp": "09-01-2021 10:13:52",
            "place": "Tirunelveli",
            "forwardingNumber": "MMAKM704949",
            "activity": "Received at Tirunelveli"
        },
        {
            "timestamp": "09-01-2021 10:13:52",
            "place": "Tirunelveli",
            "forwardingNumber": "MTVL704949     ",
            "activity": "Received at Tirunelveli"
        },
        {
            "timestamp": "08-01-2021 20:01:00",
            "place": "Tirunelveli",
            "forwardingNumber": "MAKM704949",
            "activity": "Despatched to Tirunelveli"
        }
    ]
}

License

Licensed under the WTFPL License

About

Consignment Tracker API that scrapes courier sites for data

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published