public function episode($tvdbId, $season, $episode, $fullPath = 0)
    {
        $uri = 'episode';
        $uriData = [
            'tvdbid' => $tvdbId,
            'season' => $season,
            'episode' => $episode,
            'full_path' => $fullPath
        ];

        try {
            $response = $this->_request(
                [
                    'uri' => $uri,
                    'type' => 'get',
                    'data' => $uriData
                ]
            );
        } catch (\Exception $e) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function episode($tvdbId, $season, $episode, $fullPath = 0)
    {
        $uri = 'episode';
        $uriData = [
            'tvdbid' => $tvdbId,
            'season' => $season,
            'episode' => $episode,
            'full_path' => $fullPath
        ];

        try {
            $response = $this->_request(
                [
                    'uri' => $uri,
                    'type' => 'get',
                    'data' => $uriData
                ]
            );
        } catch (\Exception $e) {
            throw new InvalidException($e->getMessage());
        }

        return $response->getBody()->getContents();
    }
public function episode ( $ tvdbId , $ season , $ episode , $ fullPath = 0 ) { $ uri = 'episode' ; $ uriData = [ 'tvdbid' => $ tvdbId , 'season' => $ season , 'episode' => $ episode , 'full_path' => $ fullPath ] ; try { $ response = $ this -> _request ( [ 'uri' => $ uri , 'type' => 'get' , 'data' => $ uriData ] ) ; } catch ( \ Exception $ e ) { throw new InvalidException ( $ e -> getMessage ( ) ) ; } return $ response -> getBody ( ) -> getContents ( ) ; }
Displays the information of a specific episode matching the corresponding tvdbid, season and episode number.

@param int $tvdbId tvdbid unique show id
@param int $season season number
@param int $episode episode number
@param int $fullPath 0: file name only 1: full path
@return string
@throws InvalidException
Displays the information of a specific episode matching the corresponding tvdbid season and episode number .