Amazon-Tracking-Number
Fetch tracking numbers of Amazon orders, for the ease of the logistics.
Read Me First (How to use this code):
- Get Amazon "Items" report from https://www.amazon.com/gp/b2b/reports . For example, 23-Oct-2021_to_26-Oct-2021-items.csv as the first attached csv file.
- Put this items.csv file together with Extract_Track_Num.py in the same folder. For example, "/Users/tonypositive/Desktop/Resources/Amazon_Orders"
- Open your Terminal app (e.g. ITerm) and type "cd /Users/tonypositive/Desktop/Resources/Amazon_Orders"
- Type "python3 Extract_Track_Num.py --path_to_order_csv 23-Oct-2021_to_26-Oct-2021-items.csv --path_to_tracknum_csv 23-Oct-2021_to_26-Oct-2021-tracknum.csv" in your Terminal app.
- You will get a filtered version of Amazon "Items" report, named as 23-Oct-2021_to_26-Oct-2021-tracknum.csv. You can change the csv file name following the argument --path_to_tracknum_csv in the step 4 to your desired tracking number csv file name.