All Consumable Code From Amirisback

Overview

ScreenShoot Apps

About This Project


SDK for anything your problem to make easier developing android apps

Screen Shoot

The Meals API Chuck Data 1 Chuck Data 2
TV Movie Person
The Meals API Chuck Data 1 Chuck Data 2

Version Release

This Is Latest Release

$version_release = 1.0.1

What's New??

* Release *

Download this project

Step 1. Add the JitPack repository to your build file (build.gradle : Project)

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

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

Step 2. Add the dependency (build.gradle : Module)

dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:1.0.1'
}

Step 3. Click Detail Below

News Api

About

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

Documentation The News API

https://newsapi.org/

Screenshoot Apps

News API Chuck Data 1 Chuck Data 2

Declaration ConsumeNewsApi

val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
    null, 
    null,
    CATEGORY_HEALTH,
    COUNTRY_ID,
    null,
    null,
    object : FrogoResponseCallback<ArticleResponse> {
        override fun onSuccess(data: ArticleResponse) {
            // Your Ui or data
        }

        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Your failed to do
        }

        override fun onShowProgress() {
            // Your Progress Show
        }

        override fun onHideProgress() {
            // Your Progress Hide
        }

    })

Contant Value Category

object NewsConstant {

    const val CATEGORY_BUSINESS = "business"
    const val CATEGORY_ENTERTAIMENT = "entertainment"
    const val CATEGORY_GENERAL = "general"
    const val CATEGORY_HEALTH = "health"
    const val CATEGORY_SCIENCE = "science"
    const val CATEGORY_SPORTS = "sports"
    const val CATEGORY_TECHNOLOGY = "technology"

}

Function Main From This Project

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

// Get Top Headline
fun getTopHeadline(
    q: String?,
    sources: String?,
    category: String?,
    country: String?,
    pageSize: Int?,
    page: Int?,
    callback: FrogoResponseCallback<ArticleResponse>
)

// Get Everythings
fun getEverythings(
    q: String?,
    from: String?,
    to: String?,
    qInTitle: String?,
    sources: String?,
    domains: String?,
    excludeDomains: String?,
    language: String?,
    sortBy: String?,
    pageSize: Int?,
    page: Int?,
    callback: FrogoResponseCallback<ArticleResponse>
)

// Get Sources
fun getSources(
    language: String,
    country: String,
    category: String,
    callback: FrogoResponseCallback<SourceResponse>
)
Meal Api

About

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

Documentation The News API

https://www.themealdb.com/api.php

Screen Shoot Apps

The Meals API Chuck Data 1 Chuck Data 2

Declaration ConsumeTheMealDbApi

val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
consumeMealApi.listAllCateories(object : FrogoResponseCallback<MealResponse<Category>> {
    override fun onSuccess(data: MealResponse<Category>) {

        // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *

    }

    override fun onFailed(statusCode: Int, errorMessage: String?) {
        // Failed Status
    }

    override fun onShowProgress() {
        // Show Your Progress View
    }

    override fun onHideProgress() {
        // Hide Your Progress View
    }
    
})

Function Main From This Project

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

// Search meal by name
fun searchMeal(mealName: String, callback: FrogoResponseCallback<MealResponse<Meal>>)

// List all meals by first letter
fun listAllMeal(firstLetter: String, callback: FrogoResponseCallback<MealResponse<Meal>>)

// Lookup full meal details by id
fun lookupFullMeal(idMeal: String, callback: FrogoResponseCallback<MealResponse<Meal>>)

// Lookup a single random meal
fun lookupRandomMeal(callback: FrogoResponseCallback<MealResponse<Meal>>)

// List all meal categories
fun listMealCategories(callback: FrogoResponseCallback<CategoryResponse>)

// List all Categories
fun listAllCateories(callback: FrogoResponseCallback<MealResponse<Category>>)

// List all Area
fun listAllArea(callback: FrogoResponseCallback<MealResponse<Area>>)

// List all Ingredients
fun listAllIngredients(callback: FrogoResponseCallback<MealResponse<Ingredient>>)

// Filter by main ingredient
fun filterByIngredient(ingredient: String, callback: FrogoResponseCallback<MealResponse<MealFilter>>)

// Filter by Category
fun filterByCategory(category: String, callback: FrogoResponseCallback<MealResponse<MealFilter>>)

// Filter by Area
fun filterByArea(area: String, callback: FrogoResponseCallback<MealResponse<MealFilter>>)
Pixabay Api

About

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

Documentation Pixabay Api

https://pixabay.com/api/docs/

Screen Shoot Apps

Pixabay API Chuck Data 1 Chuck Data 2

Declaration ConsumePixabayApi

val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor

val query = "Nature"

consumePixabayApi.searchImage(
    query,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    null,
    object : FrogoResponseCallback<Response<PixabayImage>> {
        override fun onSuccess(data: Response<PixabayImage>) {
            // Place your UI / Data
        }

        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // failed to do
        }

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

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

Function Main From This Project

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

// Search for Image
fun searchImage(
    q: String,
    lang: String?,
    id: String?,
    imageType: String?,
    orientation: String?,
    category: String?,
    minWidth: Int?,
    minHeight: Int?,
    colors: String?,
    editorsChoice: Boolean?,
    safeSearch: Boolean?,
    order: String?,
    page: Int?,
    perPage: Int?,
    callback: FrogoResponseCallback<Response<PixabayImage>>
)

// Search for Video
fun searchVideo(
    q: String,
    lang: String?,
    id: String?,
    videoType: String?,
    category: String?,
    minWidth: Int?,
    minHeight: Int?,
    editorsChoice: Boolean?,
    safeSearch: Boolean?,
    order: String?,
    page: Int?,
    perPage: Int?,
    callback: FrogoResponseCallback<Response<PixabayVideo>>
)
Sport Api

About

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

Documentation THE SPORT DB API

https://www.thesportsdb.com/api.php

Screenshoot Apps

The Sport DB API Chuck Data 1 Chuck Data 2

Declaration ConsumeTheSportDbApi

val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY

consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor

consumeTheSportDbApi.searchForPlayerByName(
    "Danny Welbeck",
    object : FrogoResponseCallback<Players> {
        override fun onSuccess(data: Players) {
            
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *

        }

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

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

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

Function Main From This Project

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

// Search for team by name
fun searchForTeamByName(teamName: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// Search for team short code
fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// Search for all players from team *Patreon ONLY*
fun searchForAllPlayer(teamName: String?, sportResultCallback: FrogoResponseCallback<Players>)

// Search for players by player name
fun searchForPlayer(playerName: String?, sportResultCallback: FrogoResponseCallback<Players>)

// Search for players by player name and team name
fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: FrogoResponseCallback<Players>)

// Search for event by event name
fun searchForEvent(eventName: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Search For event by event name and season
fun searchForEvent(eventName: String?, season: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Search for event by event file name
fun searchForEventFileName(eventFileName: String?, sportResultCallback: FrogoResponseCallback<Events>)

// List all sports
fun getAllSports(sportResultCallback: FrogoResponseCallback<Sports>)

// List all leagues
fun getAllLeagues(sportResultCallback: FrogoResponseCallback<Leagues>)

// List all Leagues in a country
fun searchAllLeagues(countryName: String?, sportResultCallback: FrogoResponseCallback<Countrys>)

// List all Leagues in a country specific by sport
fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: FrogoResponseCallback<Countrys>)

// List all Seasons in a League
fun searchAllSeasons(idTeam: String?, sportResultCallback: FrogoResponseCallback<Seasons>)

// List all Teams in a League
fun searchAllTeam(league: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// List all Teams in Sportname & Country Name
fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// List All teams details in a league by Id
fun lookupAllTeam(idLeague: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// List All players in a team by Team Id *Patreon ONLY*
fun lookupAllPlayer(idTeam: String?, sportResultCallback: FrogoResponseCallback<Players>)

// List all users loved teams and players
fun searchLoves(userName: String?, sportResultCallback: FrogoResponseCallback<Users>)

// League Details by Id
fun lookupLeagues(idLeague: String?, sportResultCallback: FrogoResponseCallback<Leagues>)

// Team Details by Id
fun lookupTeam(idTeam: String?, sportResultCallback: FrogoResponseCallback<Teams>)

// Player Details by Id
fun lookupPlayer(idPlayer: String?, sportResultCallback: FrogoResponseCallback<Players>)

// Event Details by Id
fun lookupEvent(idEvent: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Player Honours by Player Id
fun lookupHonour(idPlayer: String?, sportResultCallback: FrogoResponseCallback<Honors>)

// Player Former Teams by Player Id
fun lookupFormerTeam(idPlayer: String?, sportResultCallback: FrogoResponseCallback<FormerTeams>)

// Player Contracts by Player Id
fun lookupContract(idPlayer: String?, sportResultCallback: FrogoResponseCallback<Contracts>)

// Lookup Table by League ID and Season
fun lookupTable(idLeague: String?, season: String?, sportResultCallback: FrogoResponseCallback<Tables>)

// Next 5 Events by Team Id
fun eventsNext(idTeam: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Next 15 Events by League Id
fun eventsNextLeague(idLeague: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Last 5 Events by Team Id
fun eventsLast(idTeam: String?, sportResultCallback: FrogoResponseCallback<Results>)

// Last 15 Events by League Id
fun eventsPastLeague(idLeague: String?, sportResultCallback: FrogoResponseCallback<Events>)

// Events in a specific round by league id/round/season
fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: FrogoResponseCallback<Events>)

// All events in specific league by season (Free tier limited to 200 events)
fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: FrogoResponseCallback<Events>)
Movie Api

About

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

Documentation The Movie DB API

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

Screen Shoot Apps

TV Movie Person Chuck Data

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 : FrogoResponseCallback<Changes> {
        override fun onSuccess(data: Changes) {
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
        }

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

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

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

Function Main From This Project

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 [email protected]
  • 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

ScreenShoot Apps

You might also like...
Built the ccp code on compose. Country Code Picker is an android library which provides an easy way to search and select country or international phone code.
Built the ccp code on compose. Country Code Picker is an android library which provides an easy way to search and select country or international phone code.

Built the ccp code on compose. Country Code Picker is an android library which provides an easy way to search and select country or international phone code.

A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc.  really a practical RefreshLayout!
A pull to refresh layout for android, the RecyclerRefreshLayout is based on the SwipeRefreshLayout. support all the views, highly customizable, code simplicity, etc. really a practical RefreshLayout!

RecyclerRefreshLayout English | 中文版 RecyclerRefreshLayout based on the {@link android.support.v4.widget.SwipeRefreshLayout} The RecyclerRefreshLayout

Android-easy-permissions-kt - EasyPermissionsKt - A lightweight Android library that abstracts all runtime permission boilerplate code to simplify the system permissions managemen Repository of a multi-platform application running the same Compose source code on all platforms
Repository of a multi-platform application running the same Compose source code on all platforms

Compose multiplatform demo demo.mov Using the same compose user interface (UI) from android on all principal platforms 🎊 🎉 App Features This is a si

A simple progress loader inspired by Can you Code this UI? Volume 6! - https://stories.uplabs.com/can-you-code-this-ui-volume-6-7bd09fa6dd92#.nyh2zhpvb

SlidingSquaresLoader Sliding Square Loader - A simple progress loader inspired by Can you Code this UI? Volume 6! Gradle Step 1. Add the JitPack repos

Qart is Android App that's based on CuteR project. App generate QR code that merge a picture. So the QR code looks more beautiful.
Qart is Android App that's based on CuteR project. App generate QR code that merge a picture. So the QR code looks more beautiful.

Qart is Android App that's based on CuteR project. App generate QR code that merge a picture. So the QR code looks more beautiful.

This is a sample Android Studio project that shows the necessary code to create a note list widget, And it's an implementation of a lesson on the Pluralsight platform, but with some code improvements
This is a sample Android Studio project that shows the necessary code to create a note list widget, And it's an implementation of a lesson on the Pluralsight platform, but with some code improvements

NoteKeeper-Custom-Widgets This is a sample Android Studio project that shows the necessary code to create a note list widget, And it's an implementati

Country-code-picker-compose - An android library Jetpack Compose which provides an easy way to search and select country or country phone code The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.
The flexible, easy to use, all in one drawer library for your Android project. Now brand new with material 2 design.

MaterialDrawer ... the flexible, easy to use, all in one drawer library for your Android project. What's included 🚀 • Setup 🛠️ • Migration Guide 🧬

Lynx is an Android library created to show a custom view with all the information Android logcat is printing, different traces of different levels will be rendererd to show from log messages to your application exceptions. You can filter this traces, share your logcat to other apps, configure the max number of traces to show or the sampling rate used by the library. Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but with this dialog you can do all thats with only one dialog.
Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but with this dialog you can do all thats with only one dialog.

# Media Recorder Dialog ![](https://img.shields.io/badge/Platform-Android-brightgreen.svg) ![](https://img.shields.io/badge/Android-CustomView-blue.sv

A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential
A Collection on all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential

ComposeCookBook Declarative UI A Collection of all Jetpack compose UI elements, Layouts, Widgets and Demo screens to see it's potential. Jetpack Compo

Ultra Pull to Refresh for Android. Support all the views.

Welcome to follow me on GitHub or Twitter GitHub: https://github.com/liaohuqiu Twitter: https://twitter.com/liaohuqiu 中文版文档 Wanna auto-load-more? This

A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.
A material-styled android view that provisions picking of a date, time & recurrence option, all from a single user-interface.

SublimePicker A customizable view that provisions picking of a date, time & recurrence option, all from a single user-interface. You can also view 'Su

Renderers is an Android library created to avoid all the boilerplate needed to use a RecyclerView/ListView with adapters.
Renderers is an Android library created to avoid all the boilerplate needed to use a RecyclerView/ListView with adapters.

Renderers Renderers is an Android library created to avoid all the RecyclerView/Adapter boilerplate needed to create a list/grid of data in your app a

[] Android library for using the Honeycomb animation API on all versions of the platform back to 1.0!

DEPRECATED NineOldAndroids is deprecated. No new development will be taking place. Existing versions will (of course) continue to function. New applic

Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but with this dialog you can do all thats with only one dialog.
Android has a built in microphone through which you can capture audio and store it , or play it in your phone. There are many ways to do that but with this dialog you can do all thats with only one dialog.

# Media Recorder Dialog ![](https://img.shields.io/badge/Platform-Android-brightgreen.svg) ![](https://img.shields.io/badge/Android-CustomView-blue.sv

A list of most useful resources for designing android apps such as all material colors and dimens, 180 Gradient background + html, social, flat, fluent, metro colors.

Timer UI Login UI Fitness UI Material-Resources-Library A list of most useful resources for designing android apps such as all material colors and dim

An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc.  & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.
An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

An app that is a one-stop destination for all the CS enthusiasts, providing resources like Information scrapping techniques, best YT channels, courses available free-of-cost, etc. & knowledge about every domain and field that exists on the Internet related to Computer Science along with News, Jobs, and Internships opportunities in these domains along with valuable tips and hacks from mentors for a particular domain.

Releases(2.4.2)
  • 2.4.2(Dec 10, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:---------------------------------------------------------------------:|:------------------------------------------------------------------------:|:------------------------------------------------------------------------:| | | | |

    | TV | Movie | Person | |:-------------------------------------------------------------------:|:----------------------------------------------------------------------:|:-----------------------------------------------------------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.4.2
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.4.2'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.2'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.4.2")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.2")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.4.1(Sep 17, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.4.1
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.4.1'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.1'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.4.1")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.1")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.4.0(Aug 14, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.4.0
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.4.0'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.0'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.4.0")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.0")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.9(Jul 29, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.9
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.9'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.9'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.9")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.9")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.8(Jul 23, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.8
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.8'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.8'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.8")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.8")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.7(Jul 20, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.7
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.7'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.7'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.7")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.7")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.6(Jul 20, 2022)

  • 2.3.5(Jul 7, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.5
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.5'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.5'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.5")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.5")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.4(Jun 18, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.4
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.4'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.4'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.4")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.4")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.3(Jun 2, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.3
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.3'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.3'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.3")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.3")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.2(May 30, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • Available on Google Dev Library Click Here
    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.2
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.2'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.2'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.2")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.2")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.1(May 12, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.1
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.1'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.1'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.1")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.1")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.3.0(Apr 30, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.3.0
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.3.0'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.0'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.3.0")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.3.0")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: FrogoDataResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: FrogoDataResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: FrogoDataResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: FrogoDataResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: FrogoDataResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: FrogoDataResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: FrogoDataResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: FrogoDataResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: FrogoDataResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: FrogoDataResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: FrogoDataResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: FrogoDataResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: FrogoDataResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: FrogoDataResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: FrogoDataResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: FrogoDataResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: FrogoDataResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: FrogoDataResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: FrogoDataResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: FrogoDataResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: FrogoDataResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: FrogoDataResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: FrogoDataResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: FrogoDataResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: FrogoDataResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: FrogoDataResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: FrogoDataResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: FrogoDataResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: FrogoDataResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: FrogoDataResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: FrogoDataResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: FrogoDataResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: FrogoDataResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: FrogoDataResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: FrogoDataResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.2.3(Apr 18, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.2.3
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.2.3'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.3'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.2.3")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.3")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.2.2(Apr 17, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.2.2
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.2.2'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.2'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.2.2")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.2")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.2.1(Apr 14, 2022)

    ScreenShoot Apps

    About This Project

    Android Arsenal Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.2.1
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.2.1'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.1'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.2.1")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.1")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.2.0(Apr 11, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.2.0
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.2.0'
    
        // library frogo-consume-api for desktop
        implementation 'com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.0'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.2.0")
    
        // library frogo-consume-api for desktop
        implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.2.0")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, callback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, callback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, callback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, callback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(callback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(callback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, callback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, callback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, callback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, callback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, callback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, callback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, callback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, callback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, callback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, callback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, callback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, callback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, callback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, callback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, callback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, callback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, callback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, callback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, callback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.1.1(Apr 11, 2022)

  • 2.1.0(Apr 7, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.1.0
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    * For Android >> Consume{class}Api - Sample : ConsumeNewsApi*
    * For Desktop >> C{class}Api - Sample : CNewsApi *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.1.0'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.1.0")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.5(Mar 29, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.5
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven("https://jitpack.io")
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.5'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.5")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.4(Mar 20, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.4
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.4'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.4")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.3(Mar 18, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.3
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.3'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.3")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.2(Mar 14, 2022)

    ScreenShoot Apps

    About This Project

    Android CI Scan with Detekt pages-build-deployment

    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.2
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.2'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.2")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.1(Mar 9, 2022)

    ScreenShoot Apps

    About This Project


    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.1
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.1'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.1")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 2.0.0(Mar 1, 2022)

    ScreenShoot Apps

    About This Project


    • SDK for anything your problem to make easier developing android apps
    • Migrate frogo-android-sdk to frogo-sdk Click Here
    • Migrate frogo-android-ui-kit to frogo-ui Click Here
    • Privacy Policy Click Here
    • License Click Here

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 2.0.0
    

    What's New??

    * Update Code *
    * Available for android and desktop *
    * Migrate frogo-android-sdk to frogo-sdk *
    * Migrate frogo-android-ui-kit to frogo-ui *
    * Migrate Chuck Ready Software To ChuckerTeam/Chuck *
    * Please Reimport RedColored Code *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:2.0.0'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:2.0.0")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 1.0.8(Feb 13, 2022)

    ScreenShoot Apps

    About This Project


    SDK for anything your problem to make easier developing android apps

    Screen Shoot

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    |TV | Movie | Person | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Version Release

    This Is Latest Release

    $version_release = 1.0.8
    

    What's New??

    * Update Code *
    * Upgrade from FrogoResponseCallback to ConsumeApiResponse *
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:1.0.8'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:1.0.8")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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 [email protected]
    • 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

    ScreenShoot Apps

    Source code(tar.gz)
    Source code(zip)
  • 1.0.7(Sep 25, 2021)

    Version Release

    This Is Latest Release

    $version_release = 1.0.7
    

    What's New??

    * Update Code *
    * Enhance Performance *
    * Please Re Import Class and Function *
    * Update Android Gradle Plugin 7.0.0 *
    * update: upgrade from FrogoResponseCallback to ConsumeApiResponse *
    * Delete Unused Import and Resources *
    * Delete Admob Implementation *
    * Add Log From Consume API *
    * Migrate From Groovy to Kotlin DSL*
    

    Download this project

    Step 1. Add the JitPack repository to your build file (build.gradle : Project)

    <Option 1> Groovy Gradle

    // Add it in your root build.gradle at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url 'https://jitpack.io' }
        }
    }
    

    <Option 2> Kotlin DSL Gradle

    // Add it in your root build.gradle.kts at the end of repositories:
    
    allprojects {
        repositories {
            ...
            maven { url = uri("https://jitpack.io") }
        }
    }
    

    Step 2. Add the dependency (build.gradle : Module)

    <Option 1> Groovy Gradle

    dependencies {
        // library frogo-consume-api
        implementation 'com.github.frogobox:frogo-consume-api:1.0.7'
    }
    

    <Option 2> Kotlin DSL Gradle

    dependencies {
        // library frogo-consume-api
        implementation("com.github.frogobox:frogo-consume-api:1.0.7")
    }
    

    Step 3. Click Detail Below

    News Api

    Click for detail !!!

    About

    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

    Documentation The News API

    https://newsapi.org/

    Screenshoot Apps

    | News API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeNewsApi

    val consumeNewsApi = ConsumeNewsApi(NewsUrl.NEWS_API_KEY) // Your API_KEY
    consumeNewsApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeNewsApi.getTopHeadline( // Adding Base Parameter on main function
        null, 
        null,
        CATEGORY_HEALTH,
        COUNTRY_ID,
        null,
        null,
        object : ConsumeApiResponse<ArticleResponse> {
            override fun onSuccess(data: ArticleResponse) {
                // Your Ui or data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // Your failed to do
            }
    
            override fun onShowProgress() {
                // Your Progress Show
            }
    
            override fun onHideProgress() {
                // Your Progress Hide
            }
    
        })
    

    Contant Value Category

    object NewsConstant {
    
        const val CATEGORY_BUSINESS = "business"
        const val CATEGORY_ENTERTAIMENT = "entertainment"
        const val CATEGORY_GENERAL = "general"
        const val CATEGORY_HEALTH = "health"
        const val CATEGORY_SCIENCE = "science"
        const val CATEGORY_SPORTS = "sports"
        const val CATEGORY_TECHNOLOGY = "technology"
    
    }
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Get Top Headline
    fun getTopHeadline(
        q: String?,
        sources: String?,
        category: String?,
        country: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Everythings
    fun getEverythings(
        q: String?,
        from: String?,
        to: String?,
        qInTitle: String?,
        sources: String?,
        domains: String?,
        excludeDomains: String?,
        language: String?,
        sortBy: String?,
        pageSize: Int?,
        page: Int?,
        callback: ConsumeApiResponse<ArticleResponse>
    )
    
    // Get Sources
    fun getSources(
        language: String,
        country: String,
        category: String,
        callback: ConsumeApiResponse<SourceResponse>
    )
    

    Meals API

    Click for detail !!!

    About

    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

    Documentation The News API

    https://www.themealdb.com/api.php

    Screen Shoot Apps

    | The Meals API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheMealDbApi

    val consumeMealApi = ConsumeTheMealDbApi("1") Your API_KEY
    consumeMealApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    consumeMealApi.listAllCateories(object : ConsumeApiResponse<MealResponse<Category>> {
        override fun onSuccess(data: MealResponse<Category>) {
    
            // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
        }
    
        override fun onFailed(statusCode: Int, errorMessage: String?) {
            // Failed Status
        }
    
        override fun onShowProgress() {
            // Show Your Progress View
        }
    
        override fun onHideProgress() {
            // Hide Your Progress View
        }
        
    })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search meal by name
    fun searchMeal(mealName: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meals by first letter
    fun listAllMeal(firstLetter: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup full meal details by id
    fun lookupFullMeal(idMeal: String, callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // Lookup a single random meal
    fun lookupRandomMeal(callback: ConsumeApiResponse<MealResponse<Meal>>)
    
    // List all meal categories
    fun listMealCategories(callback: ConsumeApiResponse<CategoryResponse>)
    
    // List all Categories
    fun listAllCateories(callback: ConsumeApiResponse<MealResponse<Category>>)
    
    // List all Area
    fun listAllArea(callback: ConsumeApiResponse<MealResponse<Area>>)
    
    // List all Ingredients
    fun listAllIngredients(callback: ConsumeApiResponse<MealResponse<Ingredient>>)
    
    // Filter by main ingredient
    fun filterByIngredient(ingredient: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Category
    fun filterByCategory(category: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    
    // Filter by Area
    fun filterByArea(area: String, callback: ConsumeApiResponse<MealResponse<MealFilter>>)
    

    Pixabay API

    Click for detail !!!

    About

    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

    Documentation Pixabay Api

    https://pixabay.com/api/docs/

    Screen Shoot Apps

    | Pixabay API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumePixabayApi

    val consumePixabayApi = ConsumePixabayApi(PixabayConstant.API_KEY) // Your API Key
    consumePixabayApi.usingChuckInterceptor(this) // Using Chuck Interceptor
    
    val query = "Nature"
    
    consumePixabayApi.searchImage(
        query,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        null,
        object : ConsumeApiResponse<Response<PixabayImage>> {
            override fun onSuccess(data: Response<PixabayImage>) {
                // Place your UI / Data
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed to do
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hide your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for Image
    fun searchImage(
        q: String,
        lang: String?,
        id: String?,
        imageType: String?,
        orientation: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        colors: String?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayImage>>
    )
    
    // Search for Video
    fun searchVideo(
        q: String,
        lang: String?,
        id: String?,
        videoType: String?,
        category: String?,
        minWidth: Int?,
        minHeight: Int?,
        editorsChoice: Boolean?,
        safeSearch: Boolean?,
        order: String?,
        page: Int?,
        perPage: Int?,
        callback: ConsumeApiResponse<Response<PixabayVideo>>
    )
    

    Sport API

    Click for detail !!!

    About

    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

    Documentation THE SPORT DB API

    https://www.thesportsdb.com/api.php

    Screenshoot Apps

    | The Sport DB API | Chuck Data 1 | Chuck Data 2 | |:------------------:|:----------------------------:|:---------------------:| | | | |

    Declaration ConsumeTheSportDbApi

    val consumeTheSportDbApi = ConsumeTheSportDbApi("1") // "1" is API KEY
    
    consumeTheSportDbApi.usingChuckInterceptor(this) // This is Code Chuck Interceptor
    
    consumeTheSportDbApi.searchForPlayerByName(
        "Danny Welbeck",
        object : ConsumeApiResponse<Players> {
            override fun onSuccess(data: Players) {
                
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
    
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

    // Switch For Using Chuck Interceptor
    fun usingChuckInterceptor(context: Context)
    
    // Search for team by name
    fun searchForTeamByName(teamName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for team short code
    fun searchForTeamByShortCode(shortCode: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Search for all players from team *Patreon ONLY*
    fun searchForAllPlayer(teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name
    fun searchForPlayer(playerName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for players by player name and team name
    fun searchForPlayer(playerName: String?, teamName: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Search for event by event name
    fun searchForEvent(eventName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search For event by event name and season
    fun searchForEvent(eventName: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Search for event by event file name
    fun searchForEventFileName(eventFileName: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // List all sports
    fun getAllSports(sportResultCallback: ConsumeApiResponse<Sports>)
    
    // List all leagues
    fun getAllLeagues(sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // List all Leagues in a country
    fun searchAllLeagues(countryName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Leagues in a country specific by sport
    fun searchAllLeagues(countryName: String?, sportName: String?, sportResultCallback: ConsumeApiResponse<Countrys>)
    
    // List all Seasons in a League
    fun searchAllSeasons(idTeam: String?, sportResultCallback: ConsumeApiResponse<Seasons>)
    
    // List all Teams in a League
    fun searchAllTeam(league: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List all Teams in Sportname & Country Name
    fun searchAllTeam(sportName: String?, countryName: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All teams details in a league by Id
    fun lookupAllTeam(idLeague: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // List All players in a team by Team Id *Patreon ONLY*
    fun lookupAllPlayer(idTeam: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // List all users loved teams and players
    fun searchLoves(userName: String?, sportResultCallback: ConsumeApiResponse<Users>)
    
    // League Details by Id
    fun lookupLeagues(idLeague: String?, sportResultCallback: ConsumeApiResponse<Leagues>)
    
    // Team Details by Id
    fun lookupTeam(idTeam: String?, sportResultCallback: ConsumeApiResponse<Teams>)
    
    // Player Details by Id
    fun lookupPlayer(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Players>)
    
    // Event Details by Id
    fun lookupEvent(idEvent: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Player Honours by Player Id
    fun lookupHonour(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Honors>)
    
    // Player Former Teams by Player Id
    fun lookupFormerTeam(idPlayer: String?, sportResultCallback: ConsumeApiResponse<FormerTeams>)
    
    // Player Contracts by Player Id
    fun lookupContract(idPlayer: String?, sportResultCallback: ConsumeApiResponse<Contracts>)
    
    // Lookup Table by League ID and Season
    fun lookupTable(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Tables>)
    
    // Next 5 Events by Team Id
    fun eventsNext(idTeam: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Next 15 Events by League Id
    fun eventsNextLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Last 5 Events by Team Id
    fun eventsLast(idTeam: String?, sportResultCallback: ConsumeApiResponse<Results>)
    
    // Last 15 Events by League Id
    fun eventsPastLeague(idLeague: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // Events in a specific round by league id/round/season
    fun eventsRound(idLeague: String?, round: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    
    // All events in specific league by season (Free tier limited to 200 events)
    fun eventsSeason(idLeague: String?, season: String?, sportResultCallback: ConsumeApiResponse<Events>)
    

    Movie API

    Click for detail !!!

    About

    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

    Documentation The Movie DB API

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

    Screen Shoot Apps

    |TV | Movie | Person | Chuck Data | |:------------------:|:----------------------------:|:---------------------:|:-----------------:| | | | | |

    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 : ConsumeApiResponse<Changes> {
            override fun onSuccess(data: Changes) {
                // * PLACE YOUR CODE HERE FOR UI / ARRAYLIST *
            }
    
            override fun onFailed(statusCode: Int, errorMessage: String?) {
                // failed result
            }
    
            override fun onShowProgress() {
                // showing your progress view
            }
    
            override fun onHideProgress() {
                // hiding your progress view
            }
        })
    

    Function Main From This Project

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

    :star: 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

    Source code(tar.gz)
    Source code(zip)
  • 1.0.6(Sep 1, 2021)

    * Update Code *
    * Enhance Performance *
    * Please Re Import Class and Function *
    * Update Android Gradle Plugin 7.0.0 *
    * update: upgrade from FrogoResponseCallback to ConsumeApiResponse *
    * Delete Unused Import and Resources *
    * Delete Admob Implementation *
    * Add Log From Consume API *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0.5(Aug 21, 2021)

    * Update Code *
    * Enhance Performance *
    * Please Re Import Class and Function *
    * Update Android Gradle Plugin 7.0.0 *
    * update: upgrade from FrogoResponseCallback to ConsumeApiResponse *
    * Delete Unused Import and Resources *
    * Delete Admob Implementation *
    
    Source code(tar.gz)
    Source code(zip)
  • 1.0.3(Aug 21, 2021)

Owner
Frogobox
Frogobox starter code, sample, library
Frogobox
LiteHttp is a simple, intelligent and flexible HTTP framework for Android. With LiteHttp you can make HTTP request with only one line of code! It could convert a java model to the parameter and rander the response JSON as a java model intelligently.

Android network framework: LiteHttp Tags : litehttp2.x-tutorials Website : http://litesuits.com QQgroup : 42960650 , 47357508 Android网络通信为啥子选 lite-htt

马天宇 829 Dec 29, 2022
A js websocket server that handle an android app that connect to the sever with a QR code, to move a red square on a webpage with the gyroscope and accelerometer

online game a js websocket server with an express server, with a mobile app. backend express is used to handle the creation page, game page and the cr

null 2 Oct 7, 2021
Starter code for getting and saving data from the Internet using Kotlin.

Doggos Description Doggos is an app that fetches (pun intended) information from a third party API. The API returns data about a random dog that conta

Latifah President 0 Nov 4, 2021
Handle various HTTP status code by safe api call with Result sealed class

retrofit2-safe-api-call Handle various HTTP status code by safe api call with Result sealed class Library Retrofit2 OkHttp3 Gson Coroutine DI : Koin V

Jaesung Lee 2 May 16, 2022
Francis minecraft & discord bot source code

francis My minecraft bot (accompanied by a live chat feed on discord) made for simpvp.net It is (as of writing) composed of three microservices that c

Ridan Vandenbergh 0 May 5, 2022
The library that removes all boilerplate code allowing you to display lists with few lines of code.

VsRecyclerView The library that removes all boilerplate code allowing you to display lists with few lines of code. Gradle androidExtensions { expe

Valeriy Shtaits 13 Jun 19, 2021
Advent of Code 2021 in Kotlin, solved by myself. Focus on code readability. With GitHub Actions all puzzles are executed and their solutions printed

Advent of Code 2021 in Kotlin Focus on Code Readability. With CI Solution Printing. Welcome to the Advent of Code1 Kotlin project created by michaeltr

Michael Troger 1 Dec 12, 2021
CovidTracker traces all the covid-19 cases all over the world.

CovidTracker Crona Tracker trace india covid-19 cases upto district level and can trace other countries cases too. It can also traces user's current l

Anuraj Jain 6 May 22, 2021
Purpose for this base architectural project is to load it with all latest components and libraries So it become reference for all kind of Android projects

The purpose of this base architectural project is to load it with all the latest components and libraries, So it becomes a reference for all kinds of Android projects

null 7 Dec 7, 2021
Android Ptrace Inject for all ABIs and all APIs. Help you inject Shared Library on Android.

Android Ptrace Inject 中文可以参考我的注释内容进行理解 我写的注释相对来说比较全面了 How to build Make sure you have CMake and Ninja in your PATH Edit CMakeLists.txt. Set ANDROID_ND

SsageParuders 65 Dec 19, 2022