def rating(self, **kwargs):
path = self._get_id_path('<STR_LIT>')<EOL>payload = {<EOL>'<STR_LIT:value>': kwargs.pop('<STR_LIT:value>', None),<EOL>}<EOL>response = self._POST(path, kwargs, payload)<EOL>self._set_attrs_to_values(response)<EOL>return response<EOL>
This method lets users rate a TV show. A valid session id or guest
session id is required.

Args:
    session_id: see Authentication.
    guest_session_id: see Authentication.
    value: Rating value.

Returns:
    A dict respresentation of the JSON returned from the API.