Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 369 Bytes

README.md

File metadata and controls

42 lines (28 loc) · 369 Bytes

ipinfoapi

information about ip

usage

require 'ipinfoapi' 

install

gem install ipinfoapi 

doucment

fist write this form

require 'ipinfoapi'

a = IPinfo.new('ip or nil for use your ip')
  a.country

  a.countryCode

  a.region

  a.regionName

  a.city

  a.zip

  a.lat

  a.lon

  a.timezone

  a.isp

  a.org 

  a.as
  
  a.query