how to get postal_code

Hi all
Is there any way to get visitiores ZIp
ip = GeoLocation.find('59.180.157.125') # =>
{:city=>"Liverpool", :region=>"NY", :country=>"US",:latitude=>"43.1059", :longitude=>"-76.2099"}
  puts ip.inspect
is giving me city country and all there is any way to get zip code
Please suggest thanks in advance

I dont think this is possible, at least in germany one city can have more than one postal code. To get the postal code in this cases you need to have the street and housenumber to get the right code. I could imagine that it is the same in other countries

Top posted from android

I dont think this is possible, at least in germany one city can have more than one postal code. To get the postal code in this cases you need to have the street and housenumber to get the right code. I could imagine that it is the same in other countries

GeoIP will only ever get you the location of the ISP, not the subscriber. Every single AOL subscriber seems to be in Hernedon, VA, USA, for example. Even though their numbers are dropping precipitously, there's still not room for all of them there! If you want a person's Zip/Postal code, you generally have to ask them, and make it worth their while (dealer locator widget, etc.).

Walter

I dont think this is possible, at least in germany one city can have more
than one postal code. To get the postal code in this cases you need to have
the street and housenumber to get the right code. I could imagine that it is
the same in other countries

Yes, it is the same, at least in Argentina and The Netherlands, and
I'd guess in every country. The limitation is given by geocoding the
IP, which is provided by your ISP, so that's all you can get.