/geoip

Returns geolocation of a website domain via command line in JSON format.

Primary LanguageShellMIT LicenseMIT

geoip

Returns geolocation of a website domain via command line in JSON format.

Prerequisites:

Installation

  • Add the file geoip to your bin or /usr/local/bin folder
  • Run the command geoip <domain>

Demo

Thanks to florix for the freegeoip API!