An open API service indexing awesome lists of open source software.

https://github.com/michaelaquilina/whatismyip

Command line tool to print out your current ip address
https://github.com/michaelaquilina/whatismyip

Last synced: 7 months ago
JSON representation

Command line tool to print out your current ip address

Awesome Lists containing this project

README

          

whatismyip
==========

Command line tool to print out your current ip address.

Works by scraping the contents of www.whatismyip.com

Requirements:
* BeautifulSoup4
* lxml
* requests

The best way to utilise this script is to create a symbolic link in `/usr/local/bin` to the `whatismyip.py` script.

ln -s /path/to/whatismyip/whatismyip.py /usr/local/bin/whatismyip

This will allow you to run the `whatismyip` command from anywhere.