Scrapes the Courier Sites to obtain consignment tracking data.
- Unofficial
- RESTful JSON API
- The Professional Couriers
- DTDC
npm install
to install dependenciesnpm 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"
}
]
}
Licensed under the WTFPL License