Commit graph

58 commits

Author SHA1 Message Date
33721e4939
Use sort to get latest events 2023-08-21 09:00:01 +02:00
c12572430f
Add new files and update existing files with configuration details.
- Added LICENSE file with MIT license details.
- Added README.md file with information on how to use the script.
- Added config.dist.ini file with KeyDelivery API configuration details.
2023-08-18 09:59:40 +02:00
1c2f41587b
chore: Add docstrings to all functions
chore: Add missing type hints
2023-08-18 09:38:18 +02:00
018cccb6a1
chore: Update logging format and add debug messages
- Changed the logging format in `trackbert.py` to include date, time, and message level.
- Added debug messages to show the number of events retrieved for a tracking number.
2023-08-18 09:17:05 +02:00
9802e28454
feat: Add logging and error handling for notifications
In this commit, logging and error handling have been added to the `notify` function in order to provide more visibility into notification sending. If the `notify-send` command is not found, a warning message is logged instead of sending a notification. Additionally, logging statements have been added to various functions throughout the script to provide visibility into the execution flow.
2023-08-18 09:13:10 +02:00
44d854653f
Catch error in realtime tracking
Output time with event
2023-08-18 08:42:12 +02:00
c2963ef041
Quick implementation of adding shipment to db 2023-08-18 08:33:32 +02:00
ab325de5a6
Current status 2023-08-17 12:50:49 +02:00