Skip to content

cameracluster/ipapi-shell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ipapi-shell

  • a simple shell script that shows user's IP address info
  • ipapi-shell uses the API from https://ipapi.com to request a json object of user's IP info and returns a minimal output of the user's country of origin, city, continent and ip address.

Screenshot:

screencap

Required:

  1. An API access key from https://ipapi.com (Free)
  2. cURL
  3. jq

Usage:

  1. clone this repo with:
git clone https://github.com/cameracluster/ipapi-shell.git
  1. Paste API access key into ipapi.sh under ?access_key=...&
  2. Envoke ipapi-shell by running in your CLI of choice:
./ipapi.sh

About

a simple shell script that returns IP address info

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages