On Mar 29, 4:58 pm, Chris Rebert wrote:
> On Sun, Mar 29, 2009 at 1:39 PM, WallyDD wrote:
> > Hello,
>
> > I am trying to geocode some map data using the google maps API.
>
> > By using the urllib I can get the JSON output;
> >http://maps.google.com/maps/geo?q=New+York+USA&output=json&oe=utf8&se.
On Sun, Mar 29, 2009 at 1:39 PM, WallyDD wrote:
> Hello,
>
> I am trying to geocode some map data using the google maps API.
>
> By using the urllib I can get the JSON output;
> http://maps.google.com/maps/geo?q=New+York+USA&output=json&oe=utf8&sensor=true&key=your_api_key
>
> I then read it using
Hello,
I am trying to geocode some map data using the google maps API.
By using the urllib I can get the JSON output;
http://maps.google.com/maps/geo?q=New+York+USA&output=json&oe=utf8&sensor=true&key=your_api_key
I then read it using;
gmapiresult = json.loads(fg.read())
somedata = gmapiresult['