ARCHIVED: Unfortunately, their public API is now protected by recaptcha.
A script for displaying package tracking info from Jadlog's API.
Usage: jadloop <command> <tracking_number>
Commands:
get Display the current tracking info.
get-changes Display only new info (i.e., changes since last called).
notify Same as 'update', but also show a desktop notification.
reset Reset the cached info used by 'update' and 'notify'.
On Debian/Ubuntu based systems:
apt install curl libnotify-bin pandoc
Also included in this repo are a couple of systemd unit files that
enable notifications of tracking updates to your desktop.
To install them, put them in the ~/.config/systemd/user
directory,
and activate the timer like so, substituting in your tracking number:
systemctl enable --now --user jadloop@TRACKING_NUMBER.timer
You may edit the timer unit file to change the update period. By default, it checks for new information every 20 minutes.