code: def get(self, maxheight=None, maxwidth=None, sensor=False):
          
          if not maxheight and not maxwidth:
              raise GooglePlacesError('You must specify maxheight or maxwidth!')
  
          result = _get_place_photo(self.photo_reference,
                                    self._query_instance.api_key,
                                    maxheight=maxheight, maxwidth=maxwidth,
                                    sensor=sensor)
  
          self.mimetype, self.filename, self.data, self.url = result
docs: Fetch photo from API.