← Viihde

Satunnainen cocktail

GET /cocktails/random

Hae satunnainen cocktailresepti täysin tiedoin: nimi, kuva, ainesosat mittoineen, sekoitusohjeet, lasin tyyppi ja kategoria. Täydellinen 'yllätä minut' -juomaominaisuuksille, päivän cocktailin pienoissovelluksille, baariharjoittelutyökaluille ja sosiaalisten kokoontumisten sovelluksille. Tiedot TheCocktailDB:stä, joka kattaa satoja klassisia ja moderneja cocktaileja.

Katso se visualisoituna

Esimerkkipyynnöt

Peruskäyttö
curl https://nordapi.ee/api/v1/cocktails/random

Reaaliaikainen vastaus

{
  "data": {
    "alcoholic": "Alcoholic",
    "category": "Cocktail",
    "glass": "Highball glass",
    "id": "178369",
    "ingredients": [
      {
        "ingredient": "Cognac",
        "measure": "4 cl"
      },
      {
        "ingredient": "Ginger Beer",
        "measure": "100 ml"
      },
      {
        "ingredient": "Angostura Bitters",
        "measure": "3 drops"
      },
      {
        "ingredient": "Lemon Peel",
        "measure": "1"
      }
    ],
    "instructions": "Wash and brush an organic, untreated lemon, then cut a spiral of lemon peel, using a citrus peel. If it is too large, cut it with a sharp knife.\r\n\r\nPut some ice in a tall tumbler glass, place the lemon peel inside and pour the cognac, add the ginger beer and let 2-3 drops of Angostura fall into it. Easy to do, but once you try it you'll love it.",
    "name": "Cocktail Horse’s Neck",
    "thumbnail": "https://www.thecocktaildb.com/images/media/drink/4vobt21643844913.jpg"
  },
  "success": true
}