public Episode getEpisodeById ( String episodeId , String language ) throws TvDbException { StringBuilder urlBuilder = new StringBuilder ( ) ; urlBuilder . append ( BASE_URL ) . append ( apiKey ) . append ( "/episodes/" ) . append ( episodeId ) . append ( "/" ) ; if ( StringUtils . isNotBlank ( language ) ) { urlBuilder . append ( language ) ; urlBuilder . append ( XML_EXTENSION ) ; } LOG . trace ( URL , urlBuilder . toString ( ) ) ; return TvdbParser . getEpisode ( urlBuilder . toString ( ) ) ; }
Get information for a specific episode