Android : Google maps api V2 type of food in a restaurant place

on Friday, September 5, 2014


I'm getting a list of nearby restaurant within a range, no problem for that. What I'm trying to do is to know what type of food is served at each restaurant (pizza, chinese, pasta ...). When I do my nearby search with the keyword parameter set to chinese for exemple, that return me the chinese restaurants. But when I search in the json I don't find any reference to that (even if I search with a place detail request).


I assume this information must be somewhere since the keyword search works, but where ?


This is an example of what i get from json :



{
"geometry" : {
"location" : {
"lat" : 47.284473,
"lng" : 5.010973
}
},
"icon" : "http://maps.gstatic.com/mapfiles/place_api/icons/restaurant-71.png",
"id" : "26477da7bf70a3e1c763f548b3b4417fa267a927",
"name" : "KFC",
"opening_hours" : {
"open_now" : false
},
"place_id" : "ChIJ0SqY2l2c8kcRhhlr_VR7CC8",
"price_level" : 1,
"rating" : 3.4,
"reference" : "CnRkAAAAfAsvvcQ1TiJseFIo8WWAtrWvePZvoIU94n1FJ4AaX58gA6lV1Zmv0wISP1s_rAXrd5xEZPRiYUSo4Y5pubvhmSWWeNv9X33fFZrrM9yVPbH3n1kDHrnDGl5aUaajAbDBjOZL9MQtNo3AWHtbTK7wMxIQxMpxujaVv5fZDi2UKQtF2xoUzB2cJR0TEWT6JqL7-Am-uOL4cyk",
"scope" : "GOOGLE",
"types" : [ "restaurant", "food", "establishment" ],
"vicinity" : "163 Avenue Rolland Carraz, ChenĂ´ve"
}


Thanks.


0 comments:

Post a Comment