• 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 20
TheCocktailDB.com - An Open Cocktail Database with API
(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...sh%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.
Reply
(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...sh%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
Reply
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
Reply
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.
Reply
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.
Reply
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...
Reply
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!
Reply
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.
Reply
Zag,

People are posting 'crap' on the submission page..
Reply
- 5 shots Potatoes haha

OK will setup a moderation panel Wink
Reply
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.
Using a NUC7PJYHN and a 2820FYKH0 Intel NUC running LibreELEC, and two FireTVs.:)
Reply
(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
Reply
Exclamation 
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
Reply
Here's some sample output from http://www.thecocktaildb.com/api/json/v1...nary_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.
Reply
Here's what I get from http://www.thecocktaildb.com/api/json/v1...?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"
Reply
  • 1
  • 10
  • 11
  • 12(current)
  • 13
  • 14
  • 20

Logout Mark Read Team Forum Stats Members Help
TheCocktailDB.com - An Open Cocktail Database with API2