shipit
Advanced tools
Comparing version 0.5.2 to 0.5.3
{ | ||
"name": "shipit", | ||
"version": "0.5.2", | ||
"version": "0.5.3", | ||
"description": "This module allows you to connect to many shipping carriers like UPS and FedEx and download tracking data for your packages in a common schema", | ||
@@ -5,0 +5,0 @@ "main": "lib/main.js", |
@@ -87,5 +87,5 @@ ## What is this? | ||
```coffeescript | ||
orderId = '106-9151392-7203433' | ||
shipmentId = 'DmZd0KS8k' | ||
amazonClient.requestData {orderId, shipmentId}, (err, result) -> | ||
orderID = '106-9151392-7203433' | ||
orderingShipmentId = 'DmZd0KS8k' | ||
amazonClient.requestData {orderID, orderingShipmentId}, (err, result) -> | ||
console.log "[ERROR] error retrieving tracking data #{err}" if err? | ||
@@ -97,4 +97,7 @@ console.log "[DEBUG] new tracking data received #{JSON.stringify(result)}" if result? | ||
``` | ||
https://www.amazon.com/gp/your-account/ship-track/ref=st_v1_desktop_redirect?ie=UTF8& | ||
orderId={orderId}&packageIndex=0&shipmentId={shipmentId} | ||
https://www.amazon.com/gp/css/shiptrack/view.html | ||
/ref=pe_385040_121528360_TE_SIMP_typ?ie=UTF8 | ||
&orderID={orderID} | ||
&orderingShipmentId={orderingShipmentId} | ||
&packageId=1 | ||
``` | ||
@@ -101,0 +104,0 @@ |
104511
186