Posts: 1,746
Joined: Nov 2014
Reputation:
160
docwra
Posting Freak
Posts: 1,746
Error should be fixed now
Posts: 2
Joined: Nov 2019
Reputation:
0
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.
Posts: 3
Joined: Nov 2019
Reputation:
0
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 ?
Posts: 1
Joined: Oct 2020
Reputation:
0
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!
Posts: 2
Joined: Feb 2021
Reputation:
0
Hello all im pretty new to the iOS development scene and im looking for some advice on how to well 1 once you search on a term then search on the drinkIds to get the full list of ingredients for each drink. Although my main question is...Is there a way to query then entire db at once? I have a home page fore the app and I think it would be efficient to show the entire db in a lazyVStack to not load it all at once but as it comes into view. Just so there is more then 10 items on the screen at one time.
If anyone knows how I can do this please let me know!
Thank you!