def favorite(self, **kwargs):
path = self._get_id_path('<STR_LIT>')<EOL>kwargs.update({'<STR_LIT>': self.session_id})<EOL>payload = {<EOL>'<STR_LIT>': kwargs.pop('<STR_LIT>', None), <EOL>'<STR_LIT>': kwargs.pop('<STR_LIT>', None), <EOL>'<STR_LIT>': kwargs.pop('<STR_LIT>', None),<EOL>}<EOL>response = self._POST(path, kwargs, payload)<EOL>self._set_attrs_to_values(response)<EOL>return response<EOL>
Add or remove a movie to an accounts favorite list.

Args:
    media_type: 'movie' | 'tv'
    media_id: The id of the media.
    favorite: True (to add) | False (to remove).

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