3

enter image description here

Above image is the screen shot of search result I got from Google Maps Restaurant search, the Find table link will redirect me to URL: http://www.opentable.com/jojo?rid=4871 .

Here the URL contains Table Restaurant id rid=4871, Now my question is how do I get that restaurant ID from Google Places API Webservice? Which i need to pass it on to the URL: [http://www.opentable.com/jojo?rid=_MY_ID] later.

place_id for that location is placeid=ChIJI9k11O5YwokRJXZKb8r3CoQ and I can query the same using this: https://maps.googleapis.com/maps/api/place/details/json?placeid=ChIJI9k11O5YwokRJXZKb8r3CoQ&key=AIzaSyA_CiSjKrULed0y4gGkJiRrh6QnvJEgaSU

but the JSON returns does not contain any Restaurant ID's(rid).

3
  • 1
    I don't think the Google Places API has any method to return you OpenTable IDs, even though Google use them on their own results.
    – duncan
    Commented Jun 17, 2015 at 12:47
  • Did you find any solution?
    – H S W
    Commented Jul 26, 2018 at 9:51
  • @HSWarraich No :(
    – Favas Kv
    Commented Aug 7, 2018 at 6:14

0