Where I can find a place id on google maps

后端 未结 4 1928
北海茫月
北海茫月 2021-01-04 07:17

I want to get the place images accord to the introductions here:

https://developers.google.com/places/documentation/details#PlaceDetailsRequests

According th

4条回答
  •  攒了一身酷
    2021-01-04 07:54

    You may want a Place ID Text search by searching the place name.

    Your sample request may look like

    https://maps.googleapis.com/maps/api/place/textsearch/json?query=fish+market+sydney&key="YOUR_API_KEY"

    You will find the "place_id" in the return JSON String.

提交回复
热议问题