db = MaxMindDB.new('./GeoLite2-City.mmdb') ret = db.lookup('74.125.225.224') ret.found? # => true ret.country.name # => 'United States' ret.country.name('zh-CN') # => '美国' ret.country.iso_code # => 'US' ret.city.name(:fr) # => 'Mountain View' ret.subdivisions.most_specific.name # => 'California' ret.location.latitude # => -122.0574 ret.to_hash # => {"city"=>{"geoname_id"=>5375480, "names"=>{"de"=>