• 1
  • 5
  • 6
  • 7
  • 8(current)
  • 9
TheMealDB.com - An Open Recipe Database with API
(2020-02-01, 16:35)gene8189 Wrote: Hi there. I am currently developing an app to be publish into appstore. I would like to use your api for my app. Can you please email me?

Details here for developers 

https://www.themealdb.com/api.php
Reply
Hey, first of all: good job! Your API is great!

May I suggest an alteration to the endpoint lookup.php
Instead of having a fixed number of ingredients like:
json:

"strIngredient1": "soy sauce",
"strIngredient2": "water",
"strIngredient3": "brown sugar",
          ...
"strMeasure1": "3/4 cup",
"strMeasure2": "1/2 cup",
"strMeasure3": "1/4 cup",
           ...


a better OO modelling of that JSON could be:

json:


"ingredients": [
{
   "str": "soy sauce",
   "measure": "3/4 cup"
},
{
   "str": "water",
   "measure": "1 cup"
},
           ...
]
Reply
(2020-02-02, 00:39)docwra Wrote:
(2020-02-01, 16:35)gene8189 Wrote: Hi there. I am currently developing an app to be publish into appstore. I would like to use your api for my app. Can you please email me?

Details here for developers 

https://www.themealdb.com/api.php  
Yes a well known issue, its something that comes from years ago when the database was created.

If I could find a way of doing that without breaking backwards compatibility I would do it. I'd much rather an array to get around the inherent ingredient limit.

Maybe for V2 Wink
Reply
(2016-07-11, 21:42)zag Wrote: 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. 
Hey zag, I would really like to use this for a school project I'm working on and would like to get an API key. Could you please give me one?
Reply
(2016-07-11, 21:42)zag Wrote: 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. 
Hello, I would like an API key for a project of mine. Would that be possible? Thanks!
Reply
(2016-07-11, 21:40)zag Wrote: Yet another project I have been developing with the intent of seeing a Kodi Add-on one day...

Introducing www.TheMealDB.com!

ImageWhat is it?
Its an open online database of food meal recipes. There are many other sites online but none offered a nice API, so I wrote one myself

How to use it with Kodi?
You don't yet... but there is a very simple JSON API that any developer can use to write a simple add-on. The vision is to be able to use Kodi in my kitchen/bar area to look up recipes with the remote. Hopefully a developer will jump on board and write the add-on.

Why?
I basically want to bring Kodi into my kitchen. Recipe books are old school, there must be a better way!

Features
- High quality transparent PNG ingredients
- Meal image uploads
- Browse meals in sequence
- Area and Categories

Limitations
There are only a few recipes in there at the moment but I am working on a way for users to add them easily. PM me if you want beta access to this feature.

How can I help?
Test the site, see if you find any bugs.

Future
Food tags, categories, food areas, ingredient filters

PreviewImage
Reply
Zi044
Reply
(2016-07-11, 21:40)zag Wrote: Yet another project I have been developing with the intent of seeing a Kodi Add-on one day...

Introducing www.TheMealDB.com!

ImageWhat is it?
Its an open online database of food meal recipes. There are many other sites online but none offered a nice API, so I wrote one myself

How to use it with Kodi?
You don't yet... but there is a very simple JSON API that any developer can use to write a simple add-on. The vision is to be able to use Kodi in my kitchen/bar area to look up recipes with the remote. Hopefully a developer will jump on board and write the add-on.

Why?
I basically want to bring Kodi into my kitchen. Recipe books are old school, there must be a better way!

Features
- High quality transparent PNG ingredients
- Meal image uploads
- Browse meals in sequence
- Area and Categories

Limitations
There are only a few recipes in there at the moment but I am working on a way for users to add them easily. PM me if you want beta access to this feature.

How can I help?
Test the site, see if you find any bugs.

Future
Food tags, categories, food areas, ingredient filters

PreviewImage

Hey zag,
Is it possible to get a api key / access to the DB ?
I am doing a school project about recipes, and this will help me alot Smile
Reply
(2016-07-11, 21:40)zag Wrote: Yet another project I have been developing with the intent of seeing a Kodi Add-on one day...

Introducing www.TheMealDB.com!

Image

What is it?
Its an open online database of food meal recipes. There are many other sites online but none offered a nice API, so I wrote one myself

How to use it with Kodi?
You don't yet... but there is a very simple JSON API that any developer can use to write a simple add-on. The vision is to be able to use Kodi in my kitchen/bar area to look up recipes with the remote. Hopefully a developer will jump on board and write the add-on.

Why?
I basically want to bring Kodi into my kitchen. Recipe books are old school, there must be a better way!

Features
- High quality transparent PNG ingredients
- Meal image uploads
- Browse meals in sequence
- Area and Categories

Limitations
There are only a few recipes in there at the moment but I am working on a way for users to add them easily. PM me if you want beta access to this feature.

How can I help?
Test the site, see if you find any bugs.

Future
Food tags, categories, food areas, ingredient filters

Preview
Image

Hello Zag, I have sent you an email. Could you please check it out. I would request you for an apikey
Reply
(2020-06-22, 16:29)Sivaram Wrote:
(2016-07-11, 21:40)zag Wrote:  

Hello Zag, I have sent you an email. Could you please check it out. I would request you for an apikey
Only for Patreon now sorry.
Reply
(2017-02-13, 04:50)nickr Wrote: Wow that magicmirrors thing is cool. Thanks @cowboysdude
Hello sir , i m a patreon and i would to ask you if it is possible to provide me with the link where we can add recipes , thank you
Reply
(2016-07-11, 21:40)zag Wrote: Yet another project I have been developing with the intent of seeing a Kodi Add-on one day...

Introducing www.TheMealDB.com!

Image

What is it?
Its an open online database of food meal recipes. There are many other sites online but none offered a nice API, so I wrote one myself

How to use it with Kodi?
You don't yet... but there is a very simple JSON API that any developer can use to write a simple add-on. The vision is to be able to use Kodi in my kitchen/bar area to look up recipes with the remote. Hopefully a developer will jump on board and write the add-on.

Why?
I basically want to bring Kodi into my kitchen. Recipe books are old school, there must be a better way!

Features
- High quality transparent PNG ingredients
- Meal image uploads
- Browse meals in sequence
- Area and Categories

Limitations
There are only a few recipes in there at the moment but I am working on a way for users to add them easily. PM me if you want beta access to this feature.

How can I help?
Test the site, see if you find any bugs.

Future
Food tags, categories, food areas, ingredient filters

Preview
Image
Hello sir , i m a patreon and i would to ask you if it is possible to provide me with the link where we can add recipes , thank you
Reply
(2020-07-06, 13:11)TakiEddineGA Wrote:
(2016-07-11, 21:40)zag Wrote:  
Hello sir , i m a patreon and i would to ask you if it is possible to provide me with the link where we can add recipes , thank you

You will need a high quality photo of the recipe and the exact ingredients ready.

Once that is ready please email us for the link, details are on the contact page.
Reply
(2020-07-06, 14:04)docwra Wrote:
(2020-07-06, 13:11)TakiEddineGA Wrote:
(2016-07-11, 21:40)zag Wrote:  
Hello sir , i m a patreon and i would to ask you if it is possible to provide me with the link where we can add recipes , thank you

You will need a high quality photo of the recipe and the exact ingredients ready.

Once that is ready please email us for the link, details are on the contact page.

In my case since i'm using the api in my app , i give users the possibilty to upload their own recipes and i will make a direct redirection to your website to upload the recipes unless it is possible through a post request , should i ask the users to upload high quality photos ?
Reply
(2020-07-06, 16:03)TakiEddineGA Wrote:
(2020-07-06, 14:04)docwra Wrote:
(2020-07-06, 13:11)TakiEddineGA Wrote: Hello sir , i m a patreon and i would to ask you if it is possible to provide me with the link where we can add recipes , thank you

You will need a high quality photo of the recipe and the exact ingredients ready.

Once that is ready please email us for the link, details are on the contact page.

In my case since i'm using the api in my app , i give users the possibilty to upload their own recipes and i will make a direct redirection to your website to upload the recipes unless it is possible through a post request , should i ask the users to upload high quality photos ?
Yes, its a requirement for all new recipes. The only way to upload at the moment is via an email to us though. There is no API for this (yet)
Reply
  • 1
  • 5
  • 6
  • 7
  • 8(current)
  • 9

Logout Mark Read Team Forum Stats Members Help
TheMealDB.com - An Open Recipe Database with API3