https://github.com/happyleavesaoc/python-fedexdeliverymanager
https://github.com/happyleavesaoc/python-fedexdeliverymanager
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/happyleavesaoc/python-fedexdeliverymanager
- Owner: happyleavesaoc
- License: mit
- Created: 2017-02-07T14:42:41.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T22:28:50.000Z (about 7 years ago)
- Last Synced: 2024-10-29T01:22:22.930Z (7 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://badge.fury.io/py/fedexdeliverymanager)
# python-fedexdeliverymanager
Python 3 API for [Fedex Delivery Manager](https://www.fedex.com/us/delivery/), a way to track packages.
## Prerequisites
Sign up for Fedex Delivery Manager and verify your address.
## Install
`pip install fedexdeliverymanager`
## Usage
```python
import fedexdeliverymanager# Establish a session.
# Use the login credentials you use to login to Fedex Delivery Manager via the web.
# A login failure raises a `FedexError`.
session = fedexdeliverymanager.get_session("username", "password")# Get all packages that Fedex Delivery Manager knows about.
packages = fedexdeliverymanager.get_packages(session)
```## Caching
Session cookies are cached by default in `./fedexdeliverymanager_cookies.pickle` and will be used if available instead of logging in. If the cookies expire, a new session will be established automatically.## Development
### Lint
`tox`
### Release
`make release`
### Contributions
Contributions are welcome. Please submit a PR that passes `tox`.
## Disclaimer
Not affiliated with Fedex.