Package com.amilesend.tvmaze.client.api
Class EpisodesApi
java.lang.Object
com.amilesend.tvmaze.client.api.ApiBase
com.amilesend.tvmaze.client.api.EpisodesApi
TVMaze API to retrieve episode information.
For more information, please refer to https://www.tvmaze.com/api#episodes
For more information, please refer to https://www.tvmaze.com/api#episodes
-
Constructor Summary
ConstructorsConstructorDescriptionEpisodesApi
(com.amilesend.client.connection.Connection connection) Creates a newEpisodesApi
object. -
Method Summary
Modifier and TypeMethodDescriptiongetEpisode
(int episodeId, boolean isShowIncluded) Retrieves the episode for the given identifier.getGuestCast
(int episodeId) Retrieves the list of guest cast members for an episode.getGuestCrew
(int episodeId) Retrieves the list of guest crew members for an episode.
-
Constructor Details
-
EpisodesApi
public EpisodesApi(com.amilesend.client.connection.Connection connection) Creates a newEpisodesApi
object.- Parameters:
connection
- the connection
-
-
Method Details
-
getEpisode
Retrieves the episode for the given identifier.- Parameters:
episodeId
- the episode identifierisShowIncluded
- iftrue
, includes the embedded show information in the response; else,false
- Returns:
- the episode
- See Also:
-
getGuestCast
Retrieves the list of guest cast members for an episode.- Parameters:
episodeId
- the episode identifier- Returns:
- the list of guest cast members
- See Also:
-
getGuestCrew
Retrieves the list of guest crew members for an episode.- Parameters:
episodeId
- the episode identifier- Returns:
- the list of guest crew members
- See Also:
-