public function getGenre($id, array $parameters = [], array $headers = [])
    {
        $response = $this->getGenres($parameters, $headers);

        if (null !== $response && array_key_exists('genres', $response)) {
            return $this->extractGenreByIdFromResponse($id, $response['genres']);
        }

        return null;
    }
public function getGenre($id, array $parameters = [], array $headers = [])
    {
        $response = $this->getGenres($parameters, $headers);

        if (null !== $response && array_key_exists('genres', $response)) {
            return $this->extractGenreByIdFromResponse($id, $response['genres']);
        }

        return null;
    }
public function getGenre ( $ id , array $ parameters = [ ] , array $ headers = [ ] ) { $ response = $ this -> getGenres ( $ parameters , $ headers ) ; if ( null !== $ response && array_key_exists ( 'genres' , $ response ) ) { return $ this -> extractGenreByIdFromResponse ( $ id , $ response [ 'genres' ] ) ; } return null ; }
Get the list of genres, and return one by id

@param  integer $id
@param  array   $parameters
@param  array   $headers
@return mixed
Get the list of genres and return one by id