TheMealDB.com - An Open Recipe Database with API - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Meta-Data provider and Artwork Packs (https://forum.kodi.tv/forumdisplay.php?fid=71) +--- Thread: TheMealDB.com - An Open Recipe Database with API (/showthread.php?tid=282387) |
TheMealDB.com - An Open Recipe Database with API - zag - 2016-07-11 Yet another project I have been developing with the intent of seeing a Kodi Add-on one day... Introducing www.TheMealDB.com! 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 RE: TheMealDB.com - An Open Recipe Database with API - zag - 2016-07-11 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 NOTE: If you have a finished project, you will need an API key, please PM me or post in this thread. RE: TheMealDB.com - An Open Recipe Database with API - nickr - 2016-07-12 I have been looking for a recipe site with a decent api, because I want it on kodi in my kitchen. Suggestion: scaling recipe ingredients up/down for different numbers. RE: TheMealDB.com - An Open Recipe Database with API - enen92 - 2016-07-12 Great work as always zag RE: TheMealDB.com - An Open Recipe Database with API - Meirinf - 2016-12-28 Hello zag, I am using your project, to make a mobile application of recipes. And I have several questions. In the main activity I want to appear several random recipes as on your home page as I make the call? Second question I want in recipe details to show me all the ingredients, but for this I need the ingredients to be the one array you have not thought to make an array in the json with all inside and a separate list as now, to perform the search For an ingredient. I am using your project for an institute work and the truth that I find interesting your proposal for this I give you this idea, with the ingredients of having them separately and in an array will facilitate the use of your APPI. Thank you very much for everything and forgive my bad English I do not speak very well. RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2016-12-28 Thanks for the interest, the site has been neglected for a while as I was hoping someone would take up the task of writing a Kodi Add-on then it becomes really useful I added a random selection api method which should show 10 random recipes like the front page Code: http://www.themealdb.com/api/json/v1/1/randomselection.php As for ingredients, you should be able to iterate over the ingredient fields as they are sequential like "ingredient1", "ingredient2" etc. If you want a list of ALL ingredients then here it is so far, but bear in mind it may get bigger over time: Code: 151 proof rum RE: TheMealDB.com - An Open Recipe Database with API - Meirinf - 2016-12-31 Thanks a lot, for the help your information has been very useful, I will do an array list I still do not know, but I will do XD RE: TheMealDB.com - An Open Recipe Database with API - dberov - 2017-01-27 Is the API down atm ? RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2017-01-27 (2017-01-27, 11:11)dberov Wrote: Is the API down atm ? Yep it was, I didn't know anyone was using it yet I still need some time to populate the database properly with nice meals. I've brought it back online. RE: TheMealDB.com - An Open Recipe Database with API - cowboysdude - 2017-02-07 This is really awesome! RE: TheMealDB.com - An Open Recipe Database with API - cowboysdude - 2017-02-09 Zag I am new here so I can't send you a private message .. will there be an api for this? I found it and it's really a cool idea!! I'm building a module for this: https://magicmirror.builders/ And have not been able to [until now] to find a decent recipe list!! This one is perfect!! Was wondering if you didn't mind me using it for that? Thanks! RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2017-02-09 Sure go ahead! API instructions are in post 2 of this thread. As I say, I'm going to import a lot more recipes at some point with nice graphics. Just need the time to trawl instagram properly RE: TheMealDB.com - An Open Recipe Database with API - cowboysdude - 2017-02-09 I appreciate that very much!! I do have it working already but I just thought I'd ask because I don't want to overstep here. I'm using the example with the random item as it only calls 1 and I'm going to convert and call it recipe of the day.... It'll hit your server once, put the info in a file then read it.. after that it calls back once per day to get another recipe. I really do like this... it's really awesome!! RE: TheMealDB.com - An Open Recipe Database with API - Duff Man - 2017-02-10 cheers RE: TheMealDB.com - An Open Recipe Database with API - nickr - 2017-02-13 Wow that magicmirrors thing is cool. Thanks @cowboysdude |