•   
  • 1
  • 13
  • 14
  • 15
  • 16
  • 17(current)
TheCocktailDB.com - An Open Cocktail Database with API
(2019-09-01, 20:59)docwra Wrote: https://www.thecocktaildb.com/api/json/v...germeister 
I just recognized that the "strDescription" looks like ti is copied from Wikipedia. To avoid copyright issues proper citation is needed. See:

https://en.wikipedia.org/w/index.php?tit...=913177172
Reply
A question on the multi-ingredient filter:

https://www.thecocktaildb.com/api/json/v...uila,Vodka

The result is a list of recepies wich contain Grenadine AND Orange Juice AND Tequila AND Vodka AND anything not in the filter, right? The Result is "None Found".
What I expected is that I state what my bar contains and the filter gives me all recepies wich are possible. In the above example that would be at least "Screwdriver" and "Tequila Sunrise".
What did I miss?

Thanx!
Reply
I am trying to make this request: https://www.thecocktaildb.com/api/json/v1/1/random.php

I skip this error:

<br />
<b>Warning</b>: Creating default object from empty value in <b>C:\inetpub\thecocktaildb\api\json\v1\1\random.php</b> on line <b>10</b><br />
<br />
<b>Warning</b>: Creating default object from empty value in <b>C:\inetpub\thecocktaildb\api\json\v1\1\random.php</b> on line <b>12</b><br />
{

Image

Does anyone happen?
Reply
Error should be fixed now
Image Image
Reply
Hi!
First, I want to thank you for this simple and enchanting API. I found TheCocktailDB API most suitable to practice RestAPI calls using Retrofit-2, so I'm currently developing a sample Android client for it.
The app persists all drinks and ingredients in a local database. When syncing to the online database, it does the following:
1. Fetches a whole list of drinks (using search by first letter for each letter from 'a' to 'z'. If you know a better approach, please, let me know).
2. For each ingredient in each drink, checks for existance of this ingredient in the local database. If missing, tries to fetch it from the online database.
Thus, sooner or later the app queries for any ingredient mentioned in at least one drink recipe. And this runs into an issue: a small part of the ingredients cannot be found.
This is the list of those missing ingredients:
Bailey's irish cream
Creme de Mure
Olive Brine
Pineapple Syrup
St. Germain
Lavender
Bailey's irish cream is especially important because my app found more than 1 occurance of it.
Please, consider adding these ingredients to the database, or let me know if it is impossible or if I'm doing something wrong.
Once again, thank you for TheCocktailDB, as well as for your future reply.
Reply
(2019-11-22, 22:41)Charlie-Green Wrote: Hi!
First, I want to thank you for this simple and enchanting API. I found TheCocktailDB API most suitable to practice RestAPI calls using Retrofit-2, so I'm currently developing a sample Android client for it.
The app persists all drinks and ingredients in a local database. When syncing to the online database, it does the following:
1. Fetches a whole list of drinks (using search by first letter for each letter from 'a' to 'z'. If you know a better approach, please, let me know).
2. For each ingredient in each drink, checks for existance of this ingredient in the local database. If missing, tries to fetch it from the online database.
Thus, sooner or later the app queries for any ingredient mentioned in at least one drink recipe. And this runs into an issue: a small part of the ingredients cannot be found.
This is the list of those missing ingredients:
Bailey's irish cream
Creme de Mure
Olive Brine
Pineapple Syrup
St. Germain
Lavender
Bailey's irish cream is especially important because my app found more than 1 occurance of it.
Please, consider adding these ingredients to the database, or let me know if it is impossible or if I'm doing something wrong.
Once again, thank you for TheCocktailDB, as well as for your future reply.

Thanks! Yes these ingredients seem to have entered the database with slightly different names.

I have normalized the ingredient name entries now and hopefully it works again!

The images and descriptions already exist so hopefully that is everything.
Image Image
Reply
(2019-11-25, 11:07)docwra Wrote:
(2019-11-22, 22:41)Charlie-Green Wrote: Hi!
First, I want to thank you for this simple and enchanting API. I found TheCocktailDB API most suitable to practice RestAPI calls using Retrofit-2, so I'm currently developing a sample Android client for it.
The app persists all drinks and ingredients in a local database. When syncing to the online database, it does the following:
1. Fetches a whole list of drinks (using search by first letter for each letter from 'a' to 'z'. If you know a better approach, please, let me know).
2. For each ingredient in each drink, checks for existance of this ingredient in the local database. If missing, tries to fetch it from the online database.
Thus, sooner or later the app queries for any ingredient mentioned in at least one drink recipe. And this runs into an issue: a small part of the ingredients cannot be found.
This is the list of those missing ingredients:
Bailey's irish cream
Creme de Mure
Olive Brine
Pineapple Syrup
St. Germain
Lavender
Bailey's irish cream is especially important because my app found more than 1 occurance of it.
Please, consider adding these ingredients to the database, or let me know if it is impossible or if I'm doing something wrong.
Once again, thank you for TheCocktailDB, as well as for your future reply.

Thanks! Yes these ingredients seem to have entered the database with slightly different names.

I have normalized the ingredient name entries now and hopefully it works again!

The images and descriptions already exist so hopefully that is everything.  

Yep, now all ingredients can be found. Thank you!
Reply
Hi, 

Very nice job !!

I'm looking around to build a cocktail bot.

i found this cocktail db, and i looking if i can use it for my bot.

Is it a way to make a search on multiple ingredients ?

For examlpe my bot will have 8 bottles, let's say gin, vodka, coke, etc..
Can i make a search to just search for cocktails which include these ingredients ?
Reply
(2019-11-26, 13:27)karlzre Wrote: Hi, 

Very nice job !!

I'm looking around to build a cocktail bot.

i found this cocktail db, and i looking if i can use it for my bot.

Is it a way to make a search on multiple ingredients ?

For examlpe my bot will have 8 bottles, let's say gin, vodka, coke, etc..
Can i make a search to just search for cocktails which include these ingredients ?
Yes but that is only available for Pateron supporters.

See the API page for more details: https://www.thecocktaildb.com/api.php
Image Image
Reply
Just dropped by to say thanks.

Doing a demo on how there is an API for everything and how to use them... so built this simple random cocktail suggestion app.
https://micromedia.vanier.college/home/n...cocktails/
Reply
Nice, works well, makes me think we need 4K image resolutions now Big Grin
Image Image
Reply
Just found the cocktail db site and browsing through it...very nice!  One comment: the search doesn't seem to like ingredients; for example, I tried searching for 'orange juice' to find cocktails that user that ingredient but I got zero search results. I did another search just for 'orange' and found some drinks with orange juice listed as an ingredient, clicked on the orange juice ingredient and then got results.  It would be great to have the ability search by ingredient instead of this 'back door' method.  Just a though, keep up the good work!
Reply
Hi
I'm currently working on a project named drinks app using ES6 technologies. i need to access the API's for the same but I'm not able to access it. Can you please help me to solve this problem.
Here is the link- https://www.thecocktaildb.com/api.php
Reply
(2015-08-14, 10:50)zag Wrote: API

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 cocktail by name
http://www.thecocktaildb.com/api/json/v1/1/search.php?s=margarita

Search ingredient by name
http://www.thecocktaildb.com/api/json/v1/1/search.php?i=vodka

Lookup full cocktail details by id
http://www.thecocktaildb.com/api/json/v1/1/lookup.php?i=15112

Lookup a random cocktail
http://www.thecocktaildb.com/api/json/v1/1/random.php

Search by ingredient
http://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Gin
http://www.thecocktaildb.com/api/json/v1/1/filter.php?i=Vodka

Search by alcoholic?
http://www.thecocktaildb.com/api/json/v1/1/filter.php?a=Alcoholic
http://www.thecocktaildb.com/api/json/v1/1/filter.php?a=Non_Alcoholic

Filter by Category
http://www.thecocktaildb.com/api/json/v1/1/filter.php?c=Ordinary_Drink
http://www.thecocktaildb.com/api/json/v1/1/filter.php?c=Cocktail

Filter by Glass
http://www.thecocktaildb.com/api/json/v1/1/filter.php?g=Cocktail_glass
http://www.thecocktaildb.com/api/json/v1/1/filter.php?g=Champagne_flute

List the categories, glasses, ingredients or alcoholic filters
http://www.thecocktaildb.com/api/json/v1/1/list.php?c=list
http://www.thecocktaildb.com/api/json/v1/1/list.php?g=list
http://www.thecocktaildb.com/api/json/v1/1/list.php?i=list
http://www.thecocktaildb.com/api/json/v1/1/list.php?a=list

Images

Image name corresponds to returned API ingredient name exactly
Code:
http://www.thecocktaildb.com/images/ingredients/ice-Small.png (100x100 pixels)
http://www.thecocktaildb.com/images/ingredients/ice-Medium.png (350x350 pixels)
http://www.thecocktaildb.com/images/ingredients/ice.png (700x700 pixels)

NOTE: If you have a finished project, you will need an API key, please PM me or post in this thread or email me at zag (at) kodi.tv
HI
I'm currenly working a project-drinks app. I need to access the APIs for the same but I'm not able to. Can you please help me to solve this problem?
Reply
  •   
  • 1
  • 13
  • 14
  • 15
  • 16
  • 17(current)



Logout Mark Read Team Forum Stats Members Help
TheCocktailDB.com - An Open Cocktail Database with API2
This forum uses Lukasz Tkacz MyBB addons.