0

我在 google places 的官方文档中看到:https ://developers.google.com/places/documentation/search

服务器对搜索的响应是:

"results" : [
   {
      "formatted_address" : "529 Kent Street, Sydney NSW, Australia",
      "geometry" : {
         "location" : {
            "lat" : -33.8750460,
            "lng" : 151.2052720
         }
      },
      "icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
      "id" : "827f1ac561d72ec25897df088199315f7cbbc8ed",
      "name" : "Tetsuya's",
      "rating" : 4.30,
      "reference" : "CnRmAAAAmmm3dlSVT3E7rIvwQ0lHBA4sayvxWEc4nZaXSSjRtfKRGoYnfr3d5AvQGk4e0u3oOErXsIJwtd3Wck1Onyw6pCzr8swW4E7dZ6wP4dV6AsXPvodwdVyqHgyGE_K8DqSp5McW_nFcci_-1jXb5Phv-RIQTzv5BjIGS0ufgTslfC6dqBoU7tw8NKUDHg28bPJlL0vGVWVgbTg",
      "types" : [ "restaurant", "food", "establishment" ]
   }...

我想知道是否有可能获得评论之类的信息,基本上是为了获得比这 8 个变量更多的信息。

发送!

4

1 回答 1

0

这是有责任的 en :

    "results" : [
"reviews" : [
         {
            "aspects" : [
               {
                  "rating" : 3,
                  "type" : "quality"
               }
            ],
            "author_name" : "Simon Bengtsson",
            "author_url" : "https://plus.google.com/104675092887960962573",
            "text" : "Just went inside to have a look at Google. Amazing.",
            "time" : 1338440552869
         },
         {
           "aspects" : [
              {
                 "rating" : 3,
                 "type" : "quality"
              }
             ],
            "author_name" : "Felix Rauch Valenti",
            "author_url" : "https://plus.google.com/103291556674373289857",
            "text" : "Best place to work :-)",
            "time" : 1338411244325
         },
         {
           "aspects" : [
              {
                 "rating" : 3,
                 "type" : "quality"
              }
             ],
            "author_name" : "Chris",
            "text" : "Great place to work, always lots of free food!",
            "time" : 1330467089039
         }
      ],
      "types" : [ "establishment" ],
      "url" : "http://maps.google.com/maps/place?cid=10281119596374313554",
      "vicinity" : "48 Pirrama Road, Pyrmont",
      "website" : "http://www.google.com.au/"
   },

官方页面:https ://developers.google.com/places/documentation/details

于 2013-10-26T04:11:30.767 回答