{"id":81277,"library":"geoip","title":"GeoIP","description":"GeoIP searches a GeoIP database for a given host or IP address, returning country, city, ISP, and other location information.","status":"active","version":"1.6.4","language":"ruby","source_language":null,"source_url":"https://github.com/cjheath/geoip","tags":["geoip","geolocation","ip","location"],"install":[{"cmd":"gem install geoip","lang":"bash","label":"gem install"},{"cmd":"# Gemfile\ngem 'geoip', '~> 1.6.4'","lang":"ruby","label":"Gemfile"}],"dependencies":[],"imports":[{"symbol":"GeoIP","correct":"require 'geoip'"}],"quickstart":{"code":"require 'geoip'\ngeo = GeoIP.new('GeoLiteCity.dat')\nlocation = geo.country('8.8.8.8')\nputs location.country_name","lang":"ruby","description":"Look up IP address location"},"warnings":[],"env_vars":null,"search_vec":"'address':13 'citi':16 'countri':15 'databas':6 'geoip':1,2,5,22 'geoloc':23 'given':9 'host':10 'inform':21 'ip':12,24 'isp':17 'locat':20,25 'return':14 'search':3","created_at":"2026-06-19T04:44:11.928343+00:00","updated_at":"2026-06-19T04:44:11.928343+00:00","problems":[],"ecosystem":"rubygems","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"http://github.com/cjheath/geoip","github":"https://github.com/cjheath/geoip","docs":"http://www.rubydoc.info/gems/geoip/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-19","next_check":"2026-12-16","install_tag":null}}