Kodi Community Forum
TheCocktailDB.com - An Open Cocktail 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: TheCocktailDB.com - An Open Cocktail Database with API (/showthread.php?tid=235298)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2017-09-16

(2017-09-15, 20:53)henrikmerlander Wrote: There seems to be a bug when trying to access ingredients with special characters in their name. For example:
http://www.thecocktaildb.com/api/json/v1/1/search.php?i=Bailey%27s%20irish%20cream

Thanks, fixed!

Also added a bit more content to the ingredients descriptions. Its by no means complete, but a lot of popular ingredients now have data.


RE: TheCocktailDB.com - An Open Cocktail Database with API - henrikmerlander - 2017-09-16

(2017-09-16, 10:14)docwra Wrote:
(2017-09-15, 20:53)henrikmerlander Wrote: There seems to be a bug when trying to access ingredients with special characters in their name. For example:
http://www.thecocktaildb.com/api/json/v1/1/search.php?i=Bailey%27s%20irish%20cream

Thanks, fixed!

Also added a bit more content to the ingredients descriptions. Its by no means complete, but a lot of popular ingredients now have data.

Thanks! Cool, will definitely add it to my app Smile


RE: TheCocktailDB.com - An Open Cocktail Database with API - Ditas Fleck - 2017-10-12

docwra

Hello, I love the database.  I used your db in a bootcamp project and deployed it to Heroku.  Now it won't work.  Would you be able to send me a proper API key so I can give my presentation scheduled tomorrow?
I would greatly appreciate it, and will send you a link to the website if needed.  I would just need it for the presentation.

I sent you an email as specified on the TheCocktailDB.com and just wanted to make sure you receive it in a timely manner.  Thankkkkk youuuu..  DFLECK


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2017-10-12

As replied in the email, nothing has changed as far as I can see. What error are you getting?

Please post the API response.

I tested manually and all works as far as I can see.


RE: TheCocktailDB.com - An Open Cocktail Database with API - july541 - 2017-10-30

It could be interesting if the user requests a drink, the system looks the drink up in this database and then checks to see if it has the correct ingredients before dispensing. You would have to include your local ingredients in the API.AI Google Cloud Function to check against in order to serve a voice response though.


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2017-11-01

I've opened up the site to Cocktail submissions. Just click here to add any cocktail Smile

http://www.thecocktaildb.com/add_drink.php

Let me know if you need extra ingredient or measure options...


RE: TheCocktailDB.com - An Open Cocktail Database with API - adambxyes - 2017-11-23

Hi all,

I am building a sample android app using the cocktailsDB and was wondering if it was possible to create a filter method for multiple ingredients.
Currently you can search by ingredients with white-rum, and it will list all cocktails which contain white-rum.

apologies if this has already been answered but is it possible to write a method which would filter multiple ingredients?

Another example is I want to list all cocktails which contain: white-rum, lime juice and sugar syrup?

Any information would be much appreciated,
Thanks!


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2017-11-23

Quote:Hi all,

I am building a sample android app using the cocktailsDB and was wondering if it was possible to create a filter method for multiple ingredients.
Currently you can search by ingredients with white-rum, and it will list all cocktails which contain white-rum.

apologies if this has already been answered but is it possible to write a method which would filter multiple ingredients?

Another example is I want to list all cocktails which contain: white-rum, lime juice and sugar syrup?

Yep I am working on this now, but not ready quite yet as it breaks the current API.

The database structure does not allow it but I am moving towards a relational ingredient table.

Should be done soon I hope.


RE: TheCocktailDB.com - An Open Cocktail Database with API - kevintjeb - 2018-01-12

Zag,

People are posting 'crap' on the submission page..


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2018-01-12

- 5 shots Potatoes haha

OK will setup a moderation panel Wink


RE: TheCocktailDB.com - An Open Cocktail Database with API - MacGyver - 2018-01-12

I always liked your site so I added some more drinks.

I would like to purpose a feature request, maybe add the alphabetic navigation browsing element to drink pages as well.  So we don't have to go to the home page to browse to another letter.

Thanks for all the work you put into it.


RE: TheCocktailDB.com - An Open Cocktail Database with API - docwra - 2018-01-12

(2018-01-12, 23:46)MacGyver Wrote: I always liked your site so I added some more drinks.

I would like to purpose a feature request, maybe add the alphabetic navigation browsing element to drink pages as well.  So we don't have to go to the home page to browse to another letter.

Thanks for all the work you put into it.
 Looks great! If everyone did this we would have a huge database Smile

Thanks for your contribution, i will look into better browsing.

EDIT: A-Z added to drinks page


RE: TheCocktailDB.com - An Open Cocktail Database with API - kevintjeb - 2018-01-20

Zag,

Please remove all the spam and fake cocktails.

For now I will have to filter them in my app but your database is getting cluttered.. Sad


RE: TheCocktailDB.com - An Open Cocktail Database with API - alw_ - 2018-01-20

Here's some sample output from http://www.thecocktaildb.com/api/json/v1/1/filter.php?c=Ordinary_Drink filtered for all records with a null strDrinkThumb

text:

I/System.out: idDrink=17334
I/System.out: strDrink=Insufficient funds <a href="[redacted]">antabuse therapy teaching</a>  In June, the regulator said...[shortened]
I/System.out: strDrinkThumb=null
I/System.out:  
I/System.out: idDrink=17299
I/System.out: strDrink=No, I'm not particularly sporty <a href="[redacted]">generic estradiol</a>  You could even...[shortened]
I/System.out: strDrinkThumb=null
I/System.out:  
I/System.out: idDrink=17445
I/System.out: strDrink=Please wait <a href="[redacted]">ondansetron 8mg odt</a>  “What we are really worried about...[shortened]
I/System.out: strDrinkThumb=null
I/System.out:  
I/System.out: SUCCESS: Found 39 drinks


Personally opinion, I would remove the Add drink feature until a solution is worked out such as adding captcha. In the interim, you could just do a return statement at the top of submit_drink.php to prevent existing bots from abusing that script.


RE: TheCocktailDB.com - An Open Cocktail Database with API - doctorx0079 - 2018-01-21

Here's what I get from http://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Whiskey :

 drinks
0
strDrink "Damned if you do"
strDrinkThumb "http://www.thecocktaildb.com/images/media/drink/ql7bmx1503565106.jpg"
idDrink "13194"
1
strDrink "Excellent work, Nice Design <a href=\"http://www.wagi.warszawa.pl/?pyridium-buy.pdf#trice\">uti pyridium pregnancy</a> This means schemes which promise to protect the value of members&rsquo; pots as they approach retirement will be exempt from the cap.\n "
strDrinkThumb null
idDrink "17269"
2
strDrink "Owen's Grandmother's Revenge"
strDrinkThumb "http://www.thecocktaildb.com/images/media/drink/0wt4uo1503565321.jpg"
idDrink "13200"


This forum uses Lukasz Tkacz MyBB addons.