Project

ipis

0.0
No commit activity in last 3 years
No release in over 3 years
Command line tool for ip-api.com
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0

Runtime

> 3.0
 Project Readme

IPis

Because I got sick of going to ip2location.com in my browser.

Installation

Install it:

$ gem install ipis

Usage

$ ipis [IPs to query separated by spaces]

as:  AS7922 Comcast Cable Communications, LLC
city:  Minneapolis
country:  United States
countryCode:  US
isp:  Comcast Cable Communications
lat:  44.9778
lon:  -93.2650
org:  Comcast IP Services, L.L.C.
region:  MN
regionName:  Minnesota
status:  success
timezone:  America/Chicago
zip:  55416

Notes

  • Uses ip-api.com for querying.
  • Depends on the great HTTP.rb
  • If you don't specify a list of IPs to query, it'll still run the query against your current IPv4