This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import easypost | |
import argparse | |
import time | |
def manifest(tracking_codes): | |
print("Manifesting: %s" % ", ".join(tracking_codes)) | |
shipments = [easypost.Shipment.retrieve(tracking_code) | |
for tracking_code in tracking_codes] | |
batch = easypost.Batch.create(shipments=shipments) |