2020-12-15, 09:45
(2015-08-14, 10:50)zag Wrote: APIHI
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
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?