def checkin(self, place_id, sensor=False):
data = {'<STR_LIT>': place_id}<EOL>url, checkin_response = _fetch_remote_json(<EOL>GooglePlaces.CHECKIN_API_URL % (str(sensor).lower(),<EOL>self.api_key), json.dumps(data), use_http_post=True)<EOL>_validate_response(url, checkin_response)<EOL>
Checks in a user to a place.

        keyword arguments:
        place_id  -- The unique Google identifier for the relevant place.
        sensor    -- Boolean flag denoting if the location came from a
                     device using its location sensor (default False).