Thread Rating:
  • 1 Vote(s) - 5 Average
TheMealDB.com - An Open Recipe Database with API
#2
API Instructions

These examples use the test Api key of "1". Please post if you want your own key for larger projects. The test key may be removed at any time if it's abused.

Code:
Search meal by name
http://www.themealdb.com/api/json/v1/1/search.php?s=Arrabiata

Lookup full meal details by id
http://www.themealdb.com/api/json/v1/1/lookup.php?i=52772

Lookup a random meal
http://www.themealdb.com/api/json/v1/1/random.php

Latest Meals
http://www.themealdb.com/api/json/v1/1/latest.php

List all Categories, Area, Ingredients
http://www.themealdb.com/api/json/v1/1/list.php?c=list
http://www.themealdb.com/api/json/v1/1/list.php?a=list
http://www.themealdb.com/api/json/v1/1/list.php?i=list

Filter by ingredient
http://www.themealdb.com/api/json/v1/1/filter.php?i=chicken%20breast

Filter by Category
http://www.themealdb.com/api/json/v1/1/filter.php?c=Seafood



NOTE: If you have a finished project, you will need an API key, please PM me or post in this thread.
Reply


Messages In This Thread
RE: TheMealDB.com - An Open Recipe Database with API - by zag - 2016-07-11, 21:42


TheMealDB.com - An Open Recipe Database with API51