Skip to content

Releases: frogobox/frogo-consume-api

Release v2.2.5

06 Sep 14:49
Compare
Choose a tag to compare

Release v2.5.4

26 Apr 10:16
Compare
Choose a tag to compare

Release v2.5.3

02 Apr 09:15
Compare
Choose a tag to compare

Release v2.5.2

16 Dec 04:29
Compare
Choose a tag to compare

Release v2.5.1

30 Oct 18:30
Compare
Choose a tag to compare

Release v2.5.0

22 Jun 11:46
Compare
Choose a tag to compare

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.5.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.5.0'

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

<Option 2> Kotlin DSL Gradle

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

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

Release v2.4.9

17 Jun 15:16
018fa6b
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.8...2.4.9

Release v2.4.8

17 Jun 13:45
b08f8c5
Compare
Choose a tag to compare

What's Changed

Full Changelog: 2.4.7...2.4.8

Release v2.4.7

26 May 15:25
Compare
Choose a tag to compare

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

19 Apr 09:58
Compare
Choose a tag to compare

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