retrofit-with-food2fork.com

Additional

Language
Java
Version
v1.0 (Jun 26, 2018)
Created
Jun 26, 2018
Updated
Jul 11, 2018 (Retired)
Owner
Elnur (hajiyevelnur92)
Contributor
Elnur (hajiyevelnur92)
1
Activity
Badge
Generate
Download
Source code

Advertisement

retrofit-with-food2fork.com

This will provide food data in JSON form and display it using RecyclerView and CardView.

NOTE:Please register at foot2fork.com first and get api_code

Code

{
 count: 30,
 recipes: [
 {
  publisher: "Closet Cooking",
  f2f_url: "http://food2fork.com/view/35382",
  title: "Jalapeno Popper Grilled Cheese Sandwich",
  source_url: "http://www.closetcooking.com/2011/04/jalapeno-popper-grilled-cheese-sandwich.html",
  recipe_id: "35382",
  image_url: "http://static.food2fork.com/Jalapeno2BPopper2BGrilled2BCheese2BSandwich2B12B500fd186186.jpg",
  social_rank: 100,
  publisher_url: "http://closetcooking.com"
 },
 ...
  ]
}

Usage

Gradle

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

dependencies {
     implementation 'com.github.hajiyevelnur92:retrofit-with-food2fork.com:v1.0'
}

License