GET /cocktails/random
获取随机鸡尾酒配方及完整详情:名称、图片、带计量的原料、调制说明、杯型和分类。非常适合「给我一杯惊喜」功能、每日鸡尾酒小组件、调酒练习工具和社交聚会应用。数据来自 TheCocktailDB,涵盖数百种经典和现代鸡尾酒。
curl https://nordapi.ee/api/v1/cocktails/random
{
"data": {
"alcoholic": "Alcoholic",
"category": "Ordinary Drink",
"glass": "Old-Fashioned glass",
"id": "17210",
"ingredients": [
{
"ingredient": "Gin",
"measure": "4 cl"
},
{
"ingredient": "lemon juice",
"measure": "1.5 cl"
},
{
"ingredient": "Sugar syrup",
"measure": "1 cl"
},
{
"ingredient": "Creme de Mure",
"measure": "1.5 cl"
}
],
"instructions": "Fill glass with crushed ice. Build gin, lemon juice and simple syrup over. Stir, and then pour blackberry liqueur over in a circular fashion to create marbling effect. Garnish with two blackberries and lemon slice.",
"name": "Bramble",
"thumbnail": "https://www.thecocktaildb.com/images/media/drink/twtbh51630406392.jpg"
},
"success": true
}