Google Geolocation API , Where you live?

Check out the below example:Thanks to pterjan’s diary (http://fasmz.org/~pterjan/blog/?date=20100813#p01)
$ curl -X POST -d ‘{
  “version”: “1.1.0”,
  “host”: “perdu.com”,
  “request_address”: true,
  “address_language”: “en_GB”,
  “wifi_towers”: [
    {
      “mac_address”: “56:7a:e8:68:15:4B”
    }
  ]
{“location”:{“latitude”:48.868646,”longitude”:2.355392,”address”:{
“country”:”France”,”country_code”:”FR”,”region”:”Ile-de-France”,”county”:”Paris”,
“city”:”Paris”,”street”:”Rue Sainte-Apolline”,”street_number”:”2″,”postal_code”:”75003″
},”accuracy”:150.0},”access_token”:”2:yWOkYM4kI79VH1Bj:cvMZFkJhXSflywZB”}
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: