Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
Apparently fedex is now blocking the default urllib2 user-agent, set our
own user-agent to work around this.
|
|
|
|
easypost.Tracker.all() somehow returns a dict. For now, just fetch the
'trackers' key from the result.
|
|
Some tracking codes doesn't have the City and CountryCode fields set.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
All tollpost tracking codes are also supported by PostNord.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This is done by looking for the previousPackageId, and setting the
previous_code attribute on the TrackingResult object. Both code and
previous_code is then queried, and the package code is updated to code
if it doesn't already match.
|
|
|
|
a channel.
|
|
|
|
|