GET /cocktails/random
Получение случайного рецепта коктейля с полными данными: название, изображение, ингредиенты с мерками, инструкции по смешиванию, тип бокала и категория. Идеально для функций «удиви меня», виджетов коктейля дня, инструментов для практики бартендинга и приложений для вечеринок. Данные из TheCocktailDB, охватывающие сотни классических и современных коктейлей.
curl https://nordapi.ee/api/v1/cocktails/random
{
"data": {
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Whiskey sour glass",
"id": "11129",
"ingredients": [
{
"ingredient": "Blended whiskey",
"measure": "2 oz "
},
{
"ingredient": "Lemon",
"measure": "Juice of 1/2 "
},
{
"ingredient": "Powdered sugar",
"measure": "1 tsp "
},
{
"ingredient": "Egg white",
"measure": "1 "
},
{
"ingredient": "Lemon",
"measure": "1 slice "
},
{
"ingredient": "Cherry",
"measure": "1 "
}
],
"instructions": "Shake juice of lemon, powdered sugar, blended whiskey, and egg white with cracked ice and strain into a whiskey sour glass. Add the slice of lemon, top with the cherry, and serve.",
"name": "Boston Sour",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/kxlgbi1504366100.jpg"
},
"success": true
}