Nithin Dev
Nithin Dev

Reputation: 421

How to get the 'photoreference' of places for google Photo References API

I am using Google Places API for getting photos from location.. I got the API call and is working correctly. But my question is how to get the photoreference key for a location..

https://maps.googleapis.com/maps/api/place/photo?maxwidth=400&**photoreference=CoQBegAAAFg5U0y-iQEtUVMfqw4KpXYe60QwJC-wl59NZlcaxSQZNgAhGrjmUKD2NkXatfQF1QRap-PQCx3kMfsKQCcxtkZqQ**&sensor=true&key=AIzaSyCAe7UnfJ6NA9vFkBpswQK1udVzivRdLD0 

photoreference=CoQBegAAAFg5U0y-iQEtUVMfqw4KpXYe60QwJC-wl59NZlcaxSQZNgAhGrjmUKD2NkXatfQF1QRap-PQCx3kMfsKQCcxtkZqQ

Upvotes: 0

Views: 3751

Answers (1)

jacquard
jacquard

Reputation: 1307

You need to get the photo reference from the Place Search or Place Details request. Details are at : https://developers.google.com/places/documentation/photos

Upvotes: 2

Related Questions