Releases: frogobox/frogo-consume-api
Release v2.2.5
Full Changelog: 2.5.4...2.5.5
Release v2.5.4
Full Changelog: 2.5.3...2.5.4
Release v2.5.3
Full Changelog: 2.5.2...2.5.3
Release v2.5.2
Full Changelog: 2.5.1...2.5.2
Release v2.5.1
Full Changelog: 2.5.0...2.5.1
Release v2.5.0
About This Project
- 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
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...
Release v2.4.9
What's Changed
- DEVELOP :: Fixing build gradle src by @amirisback in #35
Full Changelog: 2.4.8...2.4.9
Release v2.4.8
What's Changed
- DEVELOP :: Split Api and Model by @amirisback in #32
- DEVELOP :: Fixing Bug Model Library by @amirisback in #33
Full Changelog: 2.4.7...2.4.8
Release v2.4.7
About This Project
- 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
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
...
Release v2.4.6
About This Project
- 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
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
...