TheCocktailDB.com - An Open Cocktail Database with API
#49
(2016-03-24, 21:38)zsock Wrote: Hey, is the API itself on a github or somewhere we can play with it?

I'd really like to see this odd 'solid 15' thing going on with the ingredients and measurements just be put in an array. As it is basically now I have to create a binding to iterate across them and strip/trim the blank ones. It's really awkward.

the 'id' and 'str' prefixes are also a little strange... I feel like we're in .NET town Smile

The api can be used live, just copy the url into a web browser and view with the json viewer chrome add-on.

As for the 15 ingredients and measures, thats just how the database works. A simple if loop != NULL should work.

The database fields are named after the xbmc database for historical reasons so that wont be changing Wink
Reply


Messages In This Thread
RE: TheCocktailDB.com - An Open Cocktail Database with API - by zag - 2016-03-28, 12:54
Logout Mark Read Team Forum Stats Members Help
TheCocktailDB.com - An Open Cocktail Database with API2