Brobin / usps-api

Python Wrapper for the USPS API :truck: :package:

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Pulling "Optional" Reponses from the API (Tracking)

sethdthomas opened this issue · comments

How can I pull the "Optional" responses that the Tracking API offers (as noted in this guide https://www.usps.com/business/web-tools-apis/track-and-confirm-api.pdf)?

The ones I'm specifically looking at are the:
TrackResponse /
TrackInfo /
ExpectedDeliveryDate

and the

TrackResponse /
TrackInfo /
ExpectedDeliveryTime

For those that have a similar question - I'm not sure how to modify this package to request that - but this StackOverflow post is what ultimately helped me achieve pulling the expected delivery date: https://stackoverflow.com/questions/23902091/usps-tracking-api-expected-delivery-date

Good luck! - I think a simple modification where the user inputs the:
1
#.#.#.#
##########

XML Tags, this package could support the expected delivery date (and other fields). It would be great to have this package pull all the information possible, then be able to sort/manipulate it later.