Tracking providers for Gearbest & AliExpress orders. This image just run the tests.
1.3K
Geartrack 2.0 is under development, this version will no longer be mantained. Use the online version which will always be updated :)
Online version: https://geartrack.pt
This library scrapes the websites providers for shipping information.
- RF.....SG ids
- RQ.....MY ids
- R......SE ids
- R......CN ids
- R......NL ids
npm install geartrack --savedocker build -t geartrack .docker run geartrackconst geartrack = require('geartrack')
// Get [Traker] info
// with exception of "adicional" tracker, all the trackers work like bellow:
geartrack.[tracker].getInfo(id, (err, TrakerInfo) => {
if(err) { return }
console.log(TrakerInfo.status) // see TrakerInfo entity for more fields
})
You just need to replace [Tracker] for one of the following available trackers:
- correos
- correosOld
- sky
- expresso24
- singpost
- ctt
- cainiao
- correoses
- directlink
- trackchinapost
- postNL
- yanwen
- malaysiaPos
- cjah
- winit
- panasia
- parcelTracker
- dhl
- track24
// Get adicional info
geartrack.adicional.getInfo(id, postalcode, (err, TrakerInfo) => {
if(err) { return }
console.log(TrakerInfo.status) // see TrakerInfo entity for more fields
})
MIT
Content type
Image
Digest
Size
269.4 MB
Last updated
about 9 years ago
docker pull hdnpt/geartrack