Module GeoIPCity
In: geoip_city.c

Pass this function an IP address as a string, it will return a hash containing all the information that the database knows about the IP

   db.look_up('24.24.24.24')
   => {:city=>"Ithaca", :latitude=>42.4277992248535,
       :country_code=>"US", :longitude=>-76.4981994628906,
       :country_code3=>"USA", :dma_code=>555,
       :country_name=>"United States", :area_code=>607,
       :region=>"NY"}

Classes and Modules

Class GeoIPCity::Database

[Validate]