Package dev.reuss.tmdb
Interface TmdbClient
public interface TmdbClient
Main entry point for the TMDB Java SDK.
A TmdbClient provides access to TMDB API services such as
configuration, images, movies, TV shows, search and watch providers.
Client instances should be created through builder().
TmdbClient tmdb = TmdbClient.builder()
.accessToken("your-access-token")
.build();
Implementations are expected to be reusable. SDK users should usually create one client instance and share it where needed.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic TmdbClientBuilderbuilder()Creates a new TMDB client builder.Returns the service for movie and TV certification lists.Returns the service for TMDB companies.Returns the service for TMDB API configuration metadata.credits()Returns the service for credit details.discover()Returns the service for discovering movies and TV shows.find()Returns the service for resolving external ids to TMDB resources.genres()Returns the service for movie and TV genres.Returns the builder for TMDB image URLs.keywords()Returns the service for TMDB keywords.movies()Returns the service for movie endpoints.networks()Returns the service for TV networks.people()Returns the service for people endpoints.reviews()Returns the service for review details.search()Returns the service for TMDB search endpoints.trending()Returns the service for trending movies, TV shows, people and mixed results.Returns the service for TV episode endpoints.Returns the service for TV episode group endpoints.tvSeason()Returns the service for TV season endpoints.tvSeries()Returns the service for TV series endpoints.Returns the service for watch provider metadata.
-
Method Details
-
configuration
ConfigurationService configuration()Returns the service for TMDB API configuration metadata.- Returns:
- configuration service
-
imageUrls
ImageUrlBuilder imageUrls()Returns the builder for TMDB image URLs.- Returns:
- image URL builder
-
certifications
CertificationService certifications()Returns the service for movie and TV certification lists.- Returns:
- certification service
-
companies
CompanyService companies()Returns the service for TMDB companies.- Returns:
- company service
-
credits
CreditService credits()Returns the service for credit details.- Returns:
- credit service
-
discover
DiscoverService discover()Returns the service for discovering movies and TV shows.- Returns:
- discover service
-
find
FindService find()Returns the service for resolving external ids to TMDB resources.- Returns:
- find service
-
genres
GenreService genres()Returns the service for movie and TV genres.- Returns:
- genre service
-
keywords
KeywordService keywords()Returns the service for TMDB keywords.- Returns:
- keyword service
-
networks
NetworkService networks()Returns the service for TV networks.- Returns:
- network service
-
reviews
ReviewService reviews()Returns the service for review details.- Returns:
- review service
-
trending
TrendingService trending()Returns the service for trending movies, TV shows, people and mixed results.- Returns:
- trending service
-
watchProviders
WatchProviderService watchProviders()Returns the service for watch provider metadata.- Returns:
- watch provider service
-
search
SearchService search()Returns the service for TMDB search endpoints.- Returns:
- search service
-
people
PersonService people()Returns the service for people endpoints.- Returns:
- people service
-
tvSeries
TvSeriesService tvSeries()Returns the service for TV series endpoints.- Returns:
- TV series service
-
tvSeason
TvSeasonService tvSeason()Returns the service for TV season endpoints.- Returns:
- TV season service
-
tvEpisode
TvEpisodeService tvEpisode()Returns the service for TV episode endpoints.- Returns:
- TV episode service
-
tvEpisodeGroup
TvEpisodeGroupService tvEpisodeGroup()Returns the service for TV episode group endpoints.- Returns:
- TV episode group service
-
movies
MovieService movies()Returns the service for movie endpoints.- Returns:
- movie service
-
collections
CollectionService collections() -
builder
Creates a new TMDB client builder.- Returns:
- a new client builder
-