MMM-ShipmentTracking icon indicating copy to clipboard operation
MMM-ShipmentTracking copied to clipboard

17track closed their API for public use

Open myxomop3d opened this issue 5 years ago • 1 comments

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?

myxomop3d avatar Jan 08 '19 18:01 myxomop3d

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.

fewieden avatar Jan 08 '19 20:01 fewieden