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

Retrofit has been Handled !! || Consumable code for request Public API (TMDb API) || 📚 🎥

License

Notifications You must be signed in to change notification settings

amirisback/consumable-code-movie-tmdb-api

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Repository files navigation

ScreenShoot Apps

consumable-code-movie-tmdb-api

JitPack
Eliminates the method of retrieving json data using retrofit repeatedly. so this project has a set of functions to retrieve data without the need for fetching data using the retrofit of the API

Attention Please ‼️

Please use frogo-consume-api Click Here to get the latest updates

Screen Shoot Apps

TV Movie Person Chuck Data

Version Release

This Is Latest Release

$version_release = 1.2.1

What's New??

* Update Build Gradle *
* Enhance Performance *

How To Use This Project

Step 1. Add the JitPack repository to your build file

Add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}

Step 2. Add the dependency

dependencies {
        // library consumable code movie tmdb api
        implementation 'com.github.amirisback:consumable-code-movie-tmdb-api:1.2.1'
}

Step 3. Declaration ConsumeMovieApi

val consumeMovieApi = ConsumeMovieApi(MovieUrl.API_KEY) // your api_key
consumeMovieApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
consumeMovieApi.getMovieChangeList(
    null,
    null,
    null,
    object : MovieResultCallback<Changes> {
        override fun getResultData(data: Changes) {
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
        }

        override fun failedResult(statusCode: Int, errorMessage: String?) {
            // failed result
        }

        override fun onShowProgress() {
            // showing your progress view
        }

        override fun onHideProgress() {
            // hiding your progress view
        }
    })

Documentation The Movie DB API

https://developers.themoviedb.org/3/getting-started/introduction

Function Main From This Project

Award

Github Actions Hackathon (March 5-31, 2020) See list winner

⭐ This four-week hackathon challenges the community to create original GitHub Actions. Actions connect all of the tools in your workflow: You can solve problems, build containers, deploy to any cloud, and more.
ScreenShoot Apps ScreenShoot Apps ScreenShoot Apps

Colaborator

Very open to anyone, I'll write your name under this, please contribute by sending an email to me

  • Mail To faisalamircs@gmail.com
  • Subject : Github _ [Github-Username-Account] _ [Language] _ [Repository-Name]
  • Example : Github_amirisback_kotlin_admob-helper-implementation

Name Of Contribute

  • Muhammad Faisal Amir
  • Waiting List
  • Waiting List

Waiting for your contribute

Attention !!!

Please enjoy and don't forget fork and give a star

  • Don't Forget Follow My Github Account
  • If you like this library, please help me / you can donate to buy patreon services