How do I use TheCocktailDB in my project?

So I’ll just say that APIs are complicated. What you’re wanting to do sounds easy and straightforward. And it’s not terribly hard relative to some APIs but it does take a few extra steps beyond what you’ve tried.

To start with, the JSON object is returning a property called “drinks” that contains an array. In Thunkable, you have to access this using list blocks. So just getting the value of “drinks” from the object, as you’ve done, isn’t going to work.

I know nobody wants to be told to go watch a video but I think you’ll find my tutorial pretty helpful:

If that gets you a little further and you still have questions, post an update here…

2 Likes