Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Releases: amirisback/consumable-code-movie-tmdb-api

add: Review, Trending, Network Method

29 Mar 14:11
Compare
Choose a tag to compare

REVIEWS

// REVIEWS
// Get Details
fun getReviews(
    review_id: String,
    callback: MovieResultCallback<Reviews>
)

TRENDING

// TRENDING
// Get Trending All Day
fun getTrendingAllDay(
    callback: MovieResultCallback<Trending<TrendingAll>>
)

// TRENDING
// Get Trending All Week
fun getTrendingAllWeek(
    callback: MovieResultCallback<Trending<TrendingAll>>
)

// TRENDING
// Get Trending Movie Day
fun getTrendingMovieDay(
    callback: MovieResultCallback<Trending<TrendingMovie>>
)

// TRENDING
// Get Trending Movie Week
fun getTrendingMovieWeek(
    callback: MovieResultCallback<Trending<TrendingMovie>>
)

// TRENDING
// Get Trending Person Day
fun getTrendingPersonDay(
    callback: MovieResultCallback<Trending<TrendingPerson>>
)

// TRENDING
// Get Trending Person Week
fun getTrendingPersonWeek(
    callback: MovieResultCallback<Trending<TrendingPerson>>
)

// TRENDING
// Get Trending TV Day
fun getTrendingTvDay(
    callback: MovieResultCallback<Trending<TrendingTv>>
)

// TRENDING
// Get Trending TV Week
fun getTrendingTvWeek(
    callback: MovieResultCallback<Trending<TrendingTv>>
)

NETWORKS

// NETWORKS
// Get Details
fun getNetworkDetail(
    network_id: Int,
    callback: MovieResultCallback<NetworkDetail>
)

// NETWORKS
// Get Alternative Names
fun getNetworkAlternativeName(
    network_id: Int,
    callback: MovieResultCallback<NetworkAlternativeName>
)

// NETWORKS
// Get Images
fun getNetworkImage(
    network_id: Int,
    callback: MovieResultCallback<NetworkImage>
)

add: Find, Genre, keyword

28 Mar 07:30
Compare
Choose a tag to compare
// FIND
// Find by ID
fun getFindById(
    external_id: String,
    external_source: String,
    language: String?,
    callback: MovieResultCallback<Find>
)

// GENRES
// Get Movie List
fun getGenresMovie(
    language: String?,
    callback: MovieResultCallback<Genres>
)

// GENRES
// Get TV List
fun getGenresTv(
    language: String?,
    callback: MovieResultCallback<Genres>
)

// KEYWORDS
// Get Details
fun getKeywordsDetail(
    keyword_id: Int,
    callback: MovieResultCallback<KeywordsDetail>
)

// KEYWORDS
// Get Movies
fun getKeywordsMovie(
    keyword_id: Int,
    language: String?,
    include_adult: String?,
    callback: MovieResultCallback<KeywordsMovies>
)

Add Discover Movie and TV Function

27 Mar 19:44
Compare
Choose a tag to compare
// DISCOVER
// Movie Discover
fun getDiscoverMovie(
    language: String?,
    region: String?,
    sort_by: String?,
    certification_country: String?,
    certification: String?,
    certification_lte: String?,
    certification_gte: String?,
    include_adult: String?,
    include_video: String?,
    page: String?,
    primary_release_year: String?,
    primary_release_date_gte: String?,
    primary_release_date_lte: String?,
    release_date_gte: String?,
    release_date_lte: String?,
    with_release_type: String?,
    year: String?,
    vote_count_gte: String?,
    vote_count_lte: String?,
    vote_average_gte: String?,
    vote_average_lte: String?,
    with_cast: String?,
    with_crew: String?,
    with_people: String?,
    with_companies: String?,
    with_genres: String?,
    without_genres: String?,
    with_keywords: String?,
    without_keywords: String?,
    with_runtime_gte: String?,
    with_runtime_lte: String?,
    with_original_language: String?,
    callback: MovieResultCallback<Discover<DiscoverMovie>>

)

// DISCOVER
// TV Discover
fun getDiscoverTv(
    language: String?,
    sort_by: String?,
    air_date_gte: String?,
    air_date_lte: String?,
    first_air_date_gte: String?,
    first_air_date_lte: String?,
    first_air_date_year: String?,
    page: String?,
    timezone: String?,
    vote_average_gte: String?,
    vote_count_gte: String?,
    with_genres: String?,
    with_networks: String?,
    without_genres: String?,
    with_runtime_gte: String?,
    with_runtime_lte: String?,
    include_null_first_air_dates: String?,
    with_original_language: String?,
    without_keywords: String?,
    screened_theatrically: String?,
    with_companies: String?,
    with_keywords: String?,
    callback: MovieResultCallback<Discover<DiscoverTv>>
)

Add Configuration and Credits

25 Mar 22:00
Compare
Choose a tag to compare

Adding New Method and Bug Fixing

// CONFIGURATION
// Get API Configuration
fun getConfigurationApi(callback: MovieResultCallback<ConfigurationApi>)

// CONFIGURATION
// Get Countries
fun getConfigurationCountries(callback: MovieResultCallback<List<ConfigurationCountry>>)

// CONFIGURATION
// Get Jobs
fun getConfigurationJobs(callback: MovieResultCallback<List<ConfigurationJob>>)

// CONFIGURATION
// Get Languages
fun getConfigurationLanguages(callback: MovieResultCallback<List<ConfigurationLanguage>>)

// CONFIGURATION
// Get Primary Translations
fun getConfigurationTranslations(callback: MovieResultCallback<List<String>>)

// CONFIGURATION
// Get Timezones
fun getConfigurationTimezones(callback: MovieResultCallback<List<ConfigurationTimezone>>)

// CREDITS
// Get Details
fun getCreditsDetails(credit_id: String, callback: MovieResultCallback<Credits>)

Fixing Bug Collection and Companies

24 Mar 11:39
Compare
Choose a tag to compare

Resuffle parameter inside struckture data source

New Companies Method, Bug Fixed

24 Mar 11:24
Compare
Choose a tag to compare

Adding Companies Method, Adding All Url

// COMPANIES
// Get Details
fun getCompaniesDetails(
    company_id: Int,
    callback: MovieResultCallback<CompaniesDetail>
)

// COMPANIES
// Get Alternative Names
fun getCompaniesAlternativeName(
    company_id: Int,
    callback: MovieResultCallback<CompaniesAlternateName>
)

// COMPANIES
// Get Images
fun getCompaniesImage(
    company_id: Int,
    callback: MovieResultCallback<CompaniesImage>
)

Consumable Code Movie TMDB Api

23 Mar 19:28
Compare
Choose a tag to compare

Consumable Code Movie TMDB Api

// Switch For Using Chuck Interceptor
fun usingChuckInterceptor(context: Context)

// CERTIFICATIONS
// Get Movie Certifications
fun getMovieCertifications(callback: MovieResultCallback<Certifications<MovieCertification>>)

// CERTIFICATIONS
// Get TV Certifications
fun getTvCertifications(callback: MovieResultCallback<Certifications<TvCertification>>)

// CHANGES
// Get Movie Change List
fun getMovieChangeList(
    endDate: String?,
    startDate: String?,
    page: String?,
    callback: MovieResultCallback<Changes>
)

// CHANGES
// Get TV Change List
fun getTvChangeList(
    endDate: String?,
    startDate: String?,
    page: String?,
    callback: MovieResultCallback<Changes>
)

// CHANGES
// Get Person Change List
fun getPersonChangeList(
    endDate: String?,
    startDate: String?,
    page: String?,
    callback: MovieResultCallback<Changes>
)

// COLLECTION
// Get Details
fun getCollectionDetails(
    collection_id: Int,
    language: String?,
    callback: MovieResultCallback<CollectionsDetail>
)

// COLLECTION
// Get Images
fun getCollectionImages(
    collection_id: Int,
    language: String?,
    callback: MovieResultCallback<CollectionsImage>
)

// COLLECTION
// Get Translations
fun getCollectionTranslations(
    collection_id: Int,
    language: String?,
    callback: MovieResultCallback<CollectionTranslation>
)