Google Places · Example Payload

Photo Example

RestaurantGeolocationGoogleLocationsMapsPlacesPoints of Interest

Photo Example is an example object payload from Google Places, with 4 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

namewidthPxheightPxauthorAttributions

Example Payload

Raw ↑
{
  "name": "places/ChIJN1t_tDeuEmsRUsoyG83frY4",
  "widthPx": 720,
  "heightPx": 720,
  "authorAttributions": [
    {
      "displayName": "Googleplex",
      "uri": "https://maps.google.com/?cid=12345678901234567890",
      "photoUri": "https://places.googleapis.com/v1/places/ChIJ/photos/AeJ/media"
    }
  ]
}