TheCocktailDB.com - An Open Cocktail Database with API
Hi! Thank You for providing TheCocktailDB!
First thing I noticed is that for 579 recipeis there are 471 different ingredients. That sounds odd. I took a quick look at the first 160 (https://www.thecocktaildb.com/api/json/v...php?i=list) and found what I expected: duplicates. Example:
Quote:"Light rum"
"Rum"
"White Rum"
These could / shoud be merged.
For "Malibu rum" vs. "Coconut rum" is not so obvious.
There might be cases where people might argue that "Brand Name" is not the same as "Generic Liquor". Would be  adding a "alternative" field to the database an option? So that we can keep eg. "Barcadi" as an ingredient but list "Light Rum" as an alternative to it?
Further down the line the alternative ingredients could be recepies, too. For example "Grape Soda" might be replaced by 1 part "Soda" and 1 part "Grape Juice".
Background for all that is that I plan to build a "BarBot" - a cocktail mixing robot like Hector 9000 (https://hackaday.io/project/161585-hector-9000) and use the API to access recepies. Unlike humans the robot will not be able to decide that he can use "Light Rum" instead of "Barcadi"...
Reply


Messages In This Thread
RE: TheCocktailDB.com - An Open Cocktail Database with API - by blaumann - 2019-08-30, 09:29
Logout Mark Read Team Forum Stats Members Help
TheCocktailDB.com - An Open Cocktail Database with API2