fewieden / MMM-ShipmentTracking

Shipment Tracking Module for MagicMirror²
MIT License
26 stars 2 forks source link

17track closed their API for public use #9

Open myxomop3d opened 5 years ago

myxomop3d commented 5 years ago

Hello! 17track is not working for now (link) For now it thows: TypeError: Cannot read property '0' of undefined at Request.request [as _callback] (D:\programming\gitrepos\MagicMirror\modules\MMM-ShipmentTracking\carriers\17track.js:76:42) at Request.self.callback (D:\programming\gitrepos\MagicMirror\modules\MMM-ShipmentTracking\node_modules\request\request.js:185:22) at emitTwo (events.js:126:13) at Request.emit (events.js:214:7) at Request. (D:\programming\gitrepos\MagicMirror\modules\MMM-ShipmentTracking\node_modules\request\request.js:1161:10) at emitOne (events.js:116:13) at Request.emit (events.js:211:7) at IncomingMessage. (D:\programming\gitrepos\MagicMirror\modules\MMM-ShipmentTracking\node_modules\request\request.js:1083:12) at Object.onceWrapper (events.js:313:30) at emitNone (events.js:111:20)

Request returns "301 Moved Permanently" So, may be we can implement another tracking system?

fewieden commented 5 years ago

I planned to support aftership in the future. There is also already a module supporting that one, that you might want to use in the meantime. https://github.com/mykle1/MMM-AfterShip and https://github.com/vanhoekd/MMM-AfterShip

Also it could be that I'll be able to fix the 17track carrier, but currently I have no time for that.