johackim / colissimo

Colissimo CLI tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Colissimo

A simple CLI tool to track your packages

Install

# Add to .bashrc
colissimo() {
  curl -s -X POST -d "suivi%5Bnumber%5D=$1" https://www.laposte.fr/particulier/outils/suivre-vos-envois | \
  grep -Po '<p class="h5">(.*?)<\/p><\/td>' | \
  sed 's|<[^>]*>||g'
}

-- or --

Add colissimo to /usr/local/bin

Usage

collisimo <track_number>

License

GNU GPL v3.0

Free Software, Hell Yeah!

About

Colissimo CLI tool

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%