def get(self, maxheight=None, maxwidth=None, sensor=False):
if not maxheight and not maxwidth:<EOL><INDENT>raise GooglePlacesError('<STR_LIT>')<EOL><DEDENT>result = _get_place_photo(self.photo_reference,<EOL>self._query_instance.api_key,<EOL>maxheight=maxheight, maxwidth=maxwidth,<EOL>sensor=sensor)<EOL>self.mimetype, self.filename, self.data, self.url = result<EOL>
Fetch photo from API.