Skip to content
This repository has been archived by the owner on Jan 12, 2022. It is now read-only.
/ jadloop Public archive

A script for displaying package tracking info from Jadlog's API.

Notifications You must be signed in to change notification settings

yurihs/jadloop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Jadloop

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'.

Requirements

On Debian/Ubuntu based systems:

apt install curl libnotify-bin pandoc

Systemd service and timer

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.

About

A script for displaying package tracking info from Jadlog's API.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages