GET /cocktails/random
Rufen Sie ein zufälliges Cocktailrezept mit vollständigen Details ab: Name, Bild, Zutaten mit Mengenangaben, Mischanweisungen, Glastyp und Kategorie. Perfekt für „Überrasche mich"-Getränkefunktionen, Cocktail-des-Tages-Widgets, Barkeeper-Übungstools und Apps für gesellschaftliche Zusammenkünfte. Daten von TheCocktailDB, das Hunderte klassischer und moderner Cocktails abdeckt.
curl https://nordapi.ee/api/v1/cocktails/random
{
"data": {
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Cocktail glass",
"id": "17837",
"ingredients": [
{
"ingredient": "Dark rum",
"measure": "2 oz "
},
{
"ingredient": "Lemon juice",
"measure": "1 oz "
},
{
"ingredient": "Grenadine",
"measure": "1 tsp "
}
],
"instructions": "In a shaker half-filled with ice cubes, combine all of the ingredients. Shake well. Strain into a cocktail glass.",
"name": "Adam",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/v0at4i1582478473.jpg"
},
"success": true
}