Skip to content

Instantly share code, notes, and snippets.

@petridw
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save petridw/6b660cc8df76778feac6 to your computer and use it in GitHub Desktop.
Save petridw/6b660cc8df76778feac6 to your computer and use it in GitHub Desktop.
example return from the yummly api
{
"attribution": {
"html": "Recipe search powered by <a href='http://www.yummly.com/recipes'><img alt='Yummly' src='http://static.yummly.com/api-logo.png'/></a>",
"url": "http://www.yummly.com/recipes/",
"text": "Recipe search powered by Yummly",
"logo": "http://static.yummly.com/api-logo.png"
},
"totalMatchCount": 18,
"facetCounts": { },
"matches": [
{
"imageUrlsBySize": {
"90": "http://lh3.ggpht.com/4X8WOTetL9aKM22hMiY6qeFMI91ZXeNA5DnW1DWLy9oc2C7GydZzLaQzLb__D6JxyiTYL3WhE2CYHoohUwMFKA=s90-c"
},
"sourceDisplayName": "Food52",
"ingredients": [
"pinto beans",
"olive oil",
"cumin seed",
"onions",
"garlic",
"ginger",
"masala",
"hand"
],
"id": "Indian-spicy-pinto-bean-curry-_rajma_-320261",
"smallImageUrls": [
"http://lh4.ggpht.com/uHUB8s9J9xBTWgmrbgr7ngN9ZCKk82v4CHtR-30ASkXXKWRHaVk1AEd2qDu4g3AZzPf8404zOgdVnJ2qcTY9LQ=s90"
],
"recipeName": "Indian Spicy Pinto Bean Curry (Rajma)",
"totalTimeInSeconds": null,
"attributes": {
"course": [
"Main Dishes"
]
},
"flavors": {
"sweet": 0.6666666666666666,
"sour": 0.6666666666666666,
"salty": 0.16666666666666666,
"piquant": 0,
"meaty": 0.6666666666666666,
"bitter": 1
},
"rating": 5
},
{
"imageUrlsBySize": {
"90": "http://lh4.ggpht.com/8pqGvcbLiUueVZ3P8qhMKbHAFPfKC-HMQjLZ91VTVOQP4kKiHGciJmHGD6JobJk_hEjEGaBq6oQu7xBSynUG=s90-c"
},
"sourceDisplayName": "Curry and Comfort",
"ingredients": [
"ground chicken",
"onions",
"celery",
"garlic",
"ground cumin",
"flour",
"seasoning salt",
"black pepper",
"crushed red pepper flakes",
"onion powder",
"chili powder",
"prepar salsa",
"low sodium chicken stock",
"mushrooms",
"milk",
"cheddar cheese",
"frozen corn",
"light kidney beans",
"black beans",
"pinto beans",
"sour cream",
"shredded cheese"
],
"id": "Southwestern-Three-Bean-Soup-with-Chicken-477742",
"smallImageUrls": [
"http://lh3.ggpht.com/Xf8eJfo3D30dx10bnhrt4OoU4Jm4zfsfEkwRIYSmKDu8sukCjyi7QSjG7BwEdo8TRcnJjM_0tBnE-K_wckrz=s90"
],
"recipeName": "Southwestern Three Bean Soup with Chicken",
"totalTimeInSeconds": 3300,
"attributes": {
"course": [
"Soups"
],
"cuisine": [
"Southwestern"
]
},
"flavors": null,
"rating": 4
},
{
"imageUrlsBySize": {
"90": "http://lh5.ggpht.com/SyjxBq3CEGXlHIup3f6pOXusqWuoMqhPP1hZ34LClJHZ6Smp3cY_eAy5IqZ6ALSOtxkiuemErKMyDNLozIWG=s90-c"
},
"sourceDisplayName": "Gluten-Free Goddess",
"ingredients": [
"mild olive oil",
"mild curry paste",
"purple onion",
"garlic",
"sweet potatoes",
"red cabbage",
"yellow bell pepper",
"cuban peppers",
"pinto beans",
"vegetable broth",
"natural peanut butter",
"light coconut milk",
"balsamic vinegar",
"crushed red pepper flakes",
"chopped cilantro fresh",
"agave nectar",
"sea salt",
"black pepper",
"peanuts",
"lime slices"
],
"id": "Purple-cabbage-and-sweet-potato-soup-with-peanut-butter-344927",
"smallImageUrls": [
"http://lh3.ggpht.com/ZWIPjPy4AsYXG8BshAydBJphg2jA4NUP_MonYGSF6sHvLS88Ijwt-fKKpPK9uiq6WDSkDN8gzf_fozPp4i3iaTc=s90"
],
"recipeName": "Purple Cabbage and Sweet Potato Soup with Peanut Butter",
"totalTimeInSeconds": 3600,
"attributes": {
"course": [
"Soups"
]
},
"flavors": {
"piquant": 0.3333333333333333,
"bitter": 0.5,
"sour": 0.8333333333333334,
"meaty": 0.16666666666666666,
"salty": 0.16666666666666666,
"sweet": 0.16666666666666666
},
"rating": 5
},
{
"imageUrlsBySize": {
"90": "http://lh3.ggpht.com/PQ3k04N5_SzNUYQss7l8OVHNY5BNnFgZiBAoT5FFkrlsxrYaxDt2B2-bk5kULUYUbXpDGCFB8sqmMQ3VKaAIHw=s90-c"
},
"sourceDisplayName": "Epicurious",
"ingredients": [
"cooked ham",
"diced tomatoes in juice",
"pork and beans",
"black beans",
"butter beans",
"pinto beans",
"onions",
"red bell pepper",
"green bell pepper",
"dark brown sugar",
"soda",
"lemon-lime soda",
"curry powder",
"savory",
"garlic powder",
"cayenne pepper"
],
"id": "_Soda-Jerk_-Beans-542244",
"smallImageUrls": [
"http://lh3.ggpht.com/EwrRV-inNHTP8RkIrftnbnz3DkcAkHWg0TG_CcFlKRcHJJmgvJQjPntv45ADUnv1iLzFAqLpeOwbgxV45vH6=s90"
],
"recipeName": "\"Soda Jerk\" Beans",
"totalTimeInSeconds": 2400,
"attributes": {
"course": [ ]
},
"flavors": {
"piquant": 0.5,
"bitter": 0.8333333333333334,
"sour": 0.6666666666666666,
"meaty": 0.16666666666666666,
"salty": 0.5,
"sweet": 0.3333333333333333
},
"rating": 5
},
{
"attributes": {
"course": [
"Salads"
]
},
"flavors": {
"piquant": 0.16666666666666666,
"meaty": 1,
"sour": 0.8333333333333334,
"bitter": 1,
"salty": 0.16666666666666666,
"sweet": 0.5
},
"rating": 4,
"id": "Curried-Bean-Salad-Food_com-100212",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 29400,
"ingredients": [
"kidney beans",
"pinto beans",
"garbanzo beans",
"whole kernel corn, drain",
"celery ribs",
"green onions",
"cider vinegar",
"vegetable oil",
"garlic",
"dried oregano",
"pepper",
"ground cumin",
"curry powder"
],
"recipeName": "Curried Bean Salad"
},
{
"attributes": {
"course": [
"Main Dishes"
]
},
"flavors": {
"piquant": 0.3333333333333333,
"meaty": 0.8333333333333334,
"sour": 1,
"bitter": 1,
"salty": 0.3333333333333333,
"sweet": 0.3333333333333333
},
"rating": 3,
"id": "Kedgeree-Curry-_curried-Pinto-Beans-And-Rice_-Recipezaar",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 1200,
"ingredients": [
"lemon juice",
"soy sauce",
"water",
"olive oil",
"curry powder",
"white rice",
"pinto beans"
],
"recipeName": "Kedgeree Curry (Curried Pinto Beans and Rice)"
},
{
"attributes": {
"course": [
"Lunch and Snacks"
]
},
"flavors": {
"piquant": 0,
"meaty": 0.8333333333333334,
"sour": 0.3333333333333333,
"bitter": 1,
"salty": 0.16666666666666666,
"sweet": 0.5
},
"rating": 3,
"id": "Pinto-Bean-Sandwich-Spread-Recipezaar",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 600,
"ingredients": [
"pinto beans",
"nonfat yogurt",
"cumin",
"curry",
"garlic powder"
],
"recipeName": "Pinto Bean Sandwich Spread"
},
{
"attributes": {
"course": [
"Main Dishes",
"Soups"
],
"cuisine": [
"Southwestern"
]
},
"flavors": {
"piquant": 0.6666666666666666,
"meaty": 1,
"sour": 0.6666666666666666,
"bitter": 1,
"salty": 1,
"sweet": 0.6666666666666666
},
"rating": 4,
"id": "Easy-N_-Lite-Pantry-Chili-Recipezaar",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 22200,
"ingredients": [
"onions",
"red bell pepper",
"chiles",
"hamburger patties",
"tomato sauce",
"diced tomatoes",
"tomato paste",
"pinto beans",
"red kidney beans",
"garlic",
"salt",
"curry powder",
"cumin",
"chili powder"
],
"recipeName": "Easy N' Lite Pantry Chili"
},
{
"attributes": {
"course": [
"Side Dishes"
],
"cuisine": [
"American"
]
},
"flavors": {
"piquant": 0.5,
"meaty": 1,
"sour": 0.6666666666666666,
"bitter": 1,
"salty": 0.16666666666666666,
"sweet": 0.8333333333333334
},
"rating": 3,
"id": "Soda-Baked-Beans-Recipezaar",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 4500,
"ingredients": [
"vegetable oil",
"onions",
"garlic",
"jalapeno chilies",
"curry powder",
"cayenne pepper",
"sausages",
"diced tomatoes",
"pork and beans",
"black beans",
"butter beans",
"pinto beans",
"red bell pepper",
"green bell pepper",
"dark brown sugar",
"coca-cola",
"lemon lime beverage",
"black pepper",
"salt"
],
"recipeName": "Soda Baked Beans"
},
{
"attributes": {
"course": [
"Soups"
]
},
"flavors": null,
"rating": 3,
"id": "Bean-And-Turkey-Soup-Recipezaar",
"sourceDisplayName": "Food.com",
"totalTimeInSeconds": 9000,
"ingredients": [
"turkey breast",
"chopped tomatoes",
"red kidney beans",
"garbanzo beans",
"pinto beans",
"black beans",
"frozen corn",
"chopped onion",
"jalapeno chilies",
"minced garlic",
"chicken stock",
"beer",
"chili powder",
"curry powder",
"dried basil",
"dried oregano",
"dried thyme",
"pepper",
"soy sauce",
"worcestershire sauce"
],
"recipeName": "Bean and Turkey Soup"
}
],
"criteria": {
"excludedIngredients": null,
"allowedIngredients": null,
"terms": null
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment