fedextrack/README.md

27 lines
617 B
Markdown
Raw Permalink Normal View History

2023-08-27 08:01:47 +00:00
# FedEx Tracking API Python Client
2023-08-16 09:28:38 +00:00
2023-08-27 08:01:47 +00:00
This is a Python client for the [FedEx Tracking API](https://developer.fedex.com/api/en-at/catalog/track/v1/docs.html).
2023-08-16 09:28:38 +00:00
2023-08-27 08:01:47 +00:00
It is not fully featured yet, but it is a good starting point. It requires you to have a FedEx developer account and an API key.
2023-08-16 09:28:38 +00:00
## Installation
```bash
pip install fedextrack
2023-08-16 09:28:38 +00:00
```
## Usage
```python
2023-08-27 08:01:47 +00:00
from fedextrack import FedEx
2023-08-16 09:28:38 +00:00
2023-08-27 08:01:47 +00:00
api = FedEx("YOUR_API_KEY", "YOUR_API_SECRET")
2023-08-16 09:28:38 +00:00
# Realtime tracking
2023-08-27 08:01:47 +00:00
tracking = api.tracking("YOUR_SHIPMENT_NUMBER")
2023-08-16 09:28:38 +00:00
```
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.