4

I'd like to use the Google geolocation API in my app, written in Python. My problem is that Google provides a JSON interface (easily useable from Python) but from http://code.google.com/p/gears/wiki/GeolocationAPI I see that the API "is published to allow developers to provide their own network location server for use through the Gears API. Google's network location server is only to be used through the Gears API. See section 5.3 of the Gears Terms of Service at [address]."

It is a very strange thing: there is a very cool JSON but I cannot use it. I have to use it through Google Gears instead. But how can I do it from a Python app?

For example, I see that the geolocation service provided by Firefox calls directly the JSON API. Why is FF able to do that?

Thanks,
Alessio Palmero Aprosio

sdwilsh
  • 4,637
  • 1
  • 20
  • 20

1 Answers1

0

Google has deprecated Gears entirely, as the geolocation feature is now standard in modern browsers (for certain values of "standard").

The pylocation module may provide the information you need. It can output the geolocation data in text, json, or xml.

tephyr
  • 838
  • 1
  • 11
  • 26