Google API for location, based on user IP address -


i looking api return user's current location(city) based on it's ip adress.i searched , found

http://freegeoip.net/json

but client big time google fan , insisting available google api, can 1 me out this.

google appends location data requests coming gae (see request header documentation go, java, php , python). should interested x-appengine-country, x-appengine-region, x-appengine-city , x-appengine-citylatlong headers.

an example looks this:

x-appengine-country:us x-appengine-region:ca x-appengine-city:norwalk x-appengine-citylatlong:33.902237,-118.081733 

Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -