public function rateTvEpisode(
        $tvshow_id,
        $season_number,
        $episode_number,
        $rating
    ) {
        return $this->postJson(
            sprintf(
                'tv/%s/season/%s/episode/%s/rating',
                $tvshow_id,
                $season_number,
                $episode_number
            ),
            ['value' => (float) $rating]
        );
    }
public function rateTvEpisode(
        $tvshow_id,
        $season_number,
        $episode_number,
        $rating
    ) {
        return $this->postJson(
            sprintf(
                'tv/%s/season/%s/episode/%s/rating',
                $tvshow_id,
                $season_number,
                $episode_number
            ),
            ['value' => (float) $rating]
        );
    }
public function rateTvEpisode ( $ tvshow_id , $ season_number , $ episode_number , $ rating ) { return $ this -> postJson ( sprintf ( 'tv/%s/season/%s/episode/%s/rating' , $ tvshow_id , $ season_number , $ episode_number ) , [ 'value' => ( float ) $ rating ] ) ; }
This method lets users rate a TV episode.

A valid session id or guest session id is required.

@param $tvshow_id
@param $season_number
@param $episode_number
@param double $rating

@return mixed
This method lets users rate a TV episode .