Kodi Community Forum
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)

Pages: 1 2 3 4 5 6 7 8 9


RE: TheMealDB.com - An Open Recipe Database with API - bharadws - 2018-04-05

Hi,

Its a nice API, can I use the same for iOS application, I am learning the app development and interested in releasing an app with Food Recipes. How to obtain API key.


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-04-05

Check the API page for details on how to get a production key. You only need this when you are ready to publish to the app store though.


RE: TheMealDB.com - An Open Recipe Database with API - Duff Man - 2018-04-24

Thank you for Kodi kitchen, themealdb.com is really cool idea!

when I select ingredient picker Kodi crashes on OS X v. 17.6 and Libreelec v. 17.6 

log osx:
                                            ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
                                             - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('strIngredient1',)
                                            Traceback (most recent call last):
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/interface.py", line 339, in onClick
                                                self.ingredient_picker()
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/interface.py", line 125, in ingredient_picker
                                                categories = mealsdb_api.List().ingredient()
                                              File "/Users/osx/Library/Application Support/Kodi/addons/script.screensaver.themealdb/resources/lib/themealdb.py", line 115, in ingredient
                                                if item["strIngredient1"]: return_list.append(item["strIngredient1"])
                                            KeyError: ('strIngredient1',)
                                            -->End of Python script error report<--


and log libreelec
                                            Error Type: <type 'exceptions.KeyError'>
                                            Error Contents: ('strIngredient1',)
                                            Traceback (most recent call last):
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/interface.py", line 339, in onClick
                                                self.ingredient_picker()
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/interface.py", line 125, in ingredient_picker
                                                categories = mealsdb_api.List().ingredient()
                                              File "/storage/.kodi/addons/script.screensaver.themealdb/resources/lib/themealdb.py", line 115, in ingredient
                                                if item["strIngredient1"]: return_list.append(item["strIngredient1"])
                                            KeyError: ('strIngredient1',)
                                            -->End of Python script error report<--

thank you


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-04-24

Yep there is an updated version if the Kodi Add-on that is on my repo (sadly got banned so I can't post it here). I did try and update it on the official kodi repo but got lost in GitHub madness.

But here is the source where you can download the zip:

https://github.com/zag2me/script.screensaver.themealdb

Latest version is 1.0.2 which fixes the ingredients errors.


RE: TheMealDB.com - An Open Recipe Database with API - Duff Man - 2018-04-25

works great!!!!  Thank you!!!!!
banned...that is crazy.  sorry
is there a 1.0.3?


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-04-25

Not yet but as I get better at Python I am going to fix the description size and a few overlays that show up too long and convert to python 3.

@enen92 wrote the original Add-on so I will probably need his help at some point Smile


RE: TheMealDB.com - An Open Recipe Database with API - Duff Man - 2018-04-25

thank you for all your work.


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-04-25

No problem, there is a dedicated thread for the Kodi Add-on here:

https://forum.kodi.tv/showthread.php?tid=322257


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-05-09

Added some new Chinese Recipes

Image

https://www.themealdb.com/browse.php?a=Chinese


RE: TheMealDB.com - An Open Recipe Database with API - IgaSyl - 2018-08-17

Hi there! great api, thx. I'm doing simple app in react, random recipes don't render picture very often (I mean like for 10 cliks I get picture maybe 4 of them....). Does every meal has a picture in api? I guess it's my mistake just want to be sure is suppose to be pic for every meal, yes? cheers


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2018-08-20

Yes all meals have an image as far as I am aware.


RE: TheMealDB.com - An Open Recipe Database with API - mrmyo - 2018-12-20

@zag I need api key. Please let me know.


RE: TheMealDB.com - An Open Recipe Database with API - wewy_getairmail - 2019-02-13

Is there a way to filter using multiple query parameters? e.g. filter.php?c=Chicken&a=Indian

Just double checking because it seems like it's just ignoring the other query param when I do this.


RE: TheMealDB.com - An Open Recipe Database with API - docwra - 2019-02-13

(2019-02-13, 16:16)wewy_getairmail Wrote: Is there a way to filter using multiple query parameters? e.g. filter.php?c=Chicken&a=Indian

Just double checking because it seems like it's just ignoring the other query param when I do this.
 Not at the moment but this is planned for V2 of the API.

Check the patreon page, we are nearly there Smile


RE: TheMealDB.com - An Open Recipe Database with API - cowboysdude - 2019-02-16

Been a long time since I've been here but just wanted to update you and Thank you guys again for the api!   I created a module for the MagicMirror2 project and wanted you guys to see it as I used the logo to give props to you guys!