@property
    def rating(self):
        """Returns the Place's rating, from 0.0 to 5.0, based on user reviews.

        This method will return None for places that have no rating.
        """
        if self._rating == '' and self.details != None and 'rating' in self.details:
            self._rating = self.details['rating']
        return self._rating

    # The following properties require a further API call in order to be
    # available.
dataset/ETHPy150Open slimkrazy/python-google-places/googleplaces/__init__.py/Place.rating/original