Package com.amilesend.tmdb.client.api
Class TrendingApi
java.lang.Object
com.amilesend.tmdb.client.api.ApiBase
com.amilesend.tmdb.client.api.TrendingApi
TMDB Trending API.
-
Constructor Summary
ConstructorsConstructorDescriptionTrendingApi
(com.amilesend.client.connection.Connection connection) Creates a newTrendingApi
object. -
Method Summary
Modifier and TypeMethodDescriptiongetAllTrending
(@NonNull GetAllTrendingRequest request) Gets the list of trending resources (e.g., movies, tv shows, people).getTrendingMovies
(@NonNull GetTrendingMoviesRequest request) Gets the list of trending movies.getTrendingPeople
(@NonNull GetTrendingPeopleRequest request) Gets the list of trending people.getTrendingTv
(@NonNull GetTrendingTvRequest request) Gets the list of trending TV shows.Methods inherited from class com.amilesend.tmdb.client.api.ApiBase
getConnection
-
Constructor Details
-
TrendingApi
public TrendingApi(com.amilesend.client.connection.Connection connection) Creates a newTrendingApi
object.- Parameters:
connection
- the connection
-
-
Method Details
-
getAllTrending
Gets the list of trending resources (e.g., movies, tv shows, people).- Parameters:
request
- the request- Returns:
- the response
- See Also:
-
getTrendingMovies
Gets the list of trending movies.- Parameters:
request
- the request- Returns:
- the response
- See Also:
-
getTrendingPeople
Gets the list of trending people.- Parameters:
request
- the request- Returns:
- the response
- See Also:
-
getTrendingTv
Gets the list of trending TV shows.- Parameters:
request
- the request- Returns:
- the response
- See Also:
-