I'm using PHP to convert the JSON data into and object. This is an
example of the output for print_r($json):
stdClass Object
(
[responseData] => stdClass Object
(
[results] => Array
(
[0] => stdClass Object
(
[GsearchResultClass] => GlocalSearch
[viewportmode] => computed
[listingType] => local
[lat] => 43.017219
[lng] => -85.724653
[accuracy] => 8
[title] => Meijer Inc
[titleNoFormatting] => Meijer Inc
[ddUrl] =>
http://www.google.com/maps?source=uds&daddr=2929+Walker+Ave+NW%2C+Grand+Rapids%2C+MI+%28Meijer+Inc%29+%4043.017219%2C-85.724653&saddr=42.945342%2C-85.612648
[ddUrlToHere] =>
http://www.google.com/maps?source=uds&daddr=2929+Walker+Ave+NW%2C+Grand+Rapids%2C+MI+%28Meijer+Inc%29+%4043.017219%2C-85.724653&iwstate1=dir%3Ato
[ddUrlFromHere] =>
http://www.google.com/maps?source=uds&saddr=2929+Walker+Ave+NW%2C+Grand+Rapids%2C+MI+%28Meijer+Inc%29+%4043.017219%2C-85.724653&iwstate1=dir%3Afrom
[streetAddress] => 2929 Walker Ave NW
[city] => Grand Rapids
[region] => MI
[country] => United States
[staticMapUrl] =>
http://mt.google.com/mapdata?cc=us&tstyp=5&Point=b&Point.latitude_e6=43017219&Point.longitude_e6=-85724653&Point.iconid=15&Point=e&w=150&h=100&zl=4
[url] =>
http://www.google.com/local?source=uds&q=hank&sll=43.017219%2C-85.724653&latlng=43017219%2C-85724653%2C9354206005689648652&near=43.017219%2C-85.724653
[content] =>
[maxAge] => 604800
<-----------------------THERE IT IS!
[phoneNumbers] => Array
(
[0] => stdClass Object
(
[type] =>
[number] => (616) 453-6711
)
)
[addressLines] => Array
(
[0] => 2929 Walker Ave NW
[1] => Grand Rapids, MI
)
)
[1] => stdClass Object
(
..............................................etc.
On Mar 5, 7:27 pm, Ben Lisbakken <[email protected]> wrote:
> Where are you finding maxAge?
> -Ben
>
> On Thu, Mar 5, 2009 at 3:00 PM, insub2 <[email protected]> wrote:
>
> > I can't find any documentation on what maxAge is for. Can anyone tell
> > me?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google AJAX APIs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/Google-AJAX-Search-API?hl=en
-~----------~----~----~----~------~----~------~--~---