Skip to content

Releases: frogobox/frogo-consume-api

Release v2.4.7

Choose a tag to compare

@amirisback amirisback released this 26 May 15:25

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.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.4.7'

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

<Option 2> Kotlin DSL Gradle

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

    // library frogo-consume-api for desktop
    implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.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

...

Read more

Release v2.4.6

Choose a tag to compare

@amirisback amirisback released this 19 Apr 09:58

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.6

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.6'

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

<Option 2> Kotlin DSL Gradle

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

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

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

...

Read more

Release v2.4.5

Choose a tag to compare

@amirisback amirisback released this 03 Apr 14:41

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.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.4.5'

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

<Option 2> Kotlin DSL Gradle

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

    // library frogo-consume-api for desktop
    implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.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

...

Read more

Release v2.4.4

Choose a tag to compare

@amirisback amirisback released this 18 Mar 20:11

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.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.4.4'

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

<Option 2> Kotlin DSL Gradle

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

    // library frogo-consume-api for desktop
    implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.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
f...
Read more

Release v2.4.3

Choose a tag to compare

@amirisback amirisback released this 16 Jan 10:19

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.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.4.3'

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

<Option 2> Kotlin DSL Gradle

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

    // library frogo-consume-api for desktop
    implementation("com.github.frogobox.frogo-consume-api:frogocoreconsumeapi:2.4.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
f...
Read more

Release v2.4.2

Choose a tag to compare

@amirisback amirisback released this 10 Dec 09:28

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
f...
Read more

Release v2.4.1

Choose a tag to compare

@amirisback amirisback released this 17 Sep 08:38

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 filterByCat...
Read more

Release v2.4.0

Choose a tag to compare

@amirisback amirisback released this 14 Aug 17:36

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 filterByCat...
Read more

Release v2.3.9

Choose a tag to compare

@amirisback amirisback released this 29 Jul 17:36

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 filterByCat...
Read more

Release v2.3.8

Choose a tag to compare

@amirisback amirisback released this 23 Jul 09:55

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 filterByCat...
Read more