Class TvMaze
java.lang.Object
com.amilesend.tvmaze.client.TvMaze
A helper class to vend API classes that are associated with a
Connection
to the TVMaze service.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionTvMaze()
Creates a newTvMaze
object that is configured with the default settings.TvMaze
(com.amilesend.client.connection.Connection<GsonFactory> connection) -
Method Summary
Modifier and TypeMethodDescriptionGets a newEpisodesApi
object used to interact with the Episodes API.Gets a newPeopleApi
object used to interact with the People API.Gets a newScheduleApi
object used to interact with the Schedule API.Gets a newSearchApi
object used to interact with the Search API.Gets a newScheduleApi
object used to interact with the Shows API.Gets a newUpdatesApi
object used to interact with the Updates API.
-
Field Details
-
USER_AGENT
- See Also:
-
API_URL
- See Also:
-
-
Constructor Details
-
TvMaze
public TvMaze()Creates a newTvMaze
object that is configured with the default settings. -
TvMaze
-
-
Method Details
-
getSearchApi
Gets a newSearchApi
object used to interact with the Search API. See https://www.tvmaze.com/api#search for more information.- Returns:
- the search API
- See Also:
-
getScheduleApi
Gets a newScheduleApi
object used to interact with the Schedule API. See a href="https://www.tvmaze.com/api#schedule">https://www.tvmaze.com/api#schedule for more information.- Returns:
- the schedule API
- See Also:
-
getShowsApi
Gets a newScheduleApi
object used to interact with the Shows API. See a href="https://www.tvmaze.com/api#shows">https://www.tvmaze.com/api#shows for more information.- Returns:
- the schedule API
- See Also:
-
getEpisodesApi
Gets a newEpisodesApi
object used to interact with the Episodes API. See a href="https://www.tvmaze.com/api#episodes">https://www.tvmaze.com/api#episodes for more information.- Returns:
- the episodes API
- See Also:
-
getPeopleApi
-
getUpdatesApi
Gets a newUpdatesApi
object used to interact with the Updates API. See a href="https://www.tvmaze.com/api#updates">https://www.tvmaze.com/api#updates for more information.- Returns:
- the updates API
- See Also:
-