GET /recipes/random
Hangi täiesti juhuslik retsept koos täielike valmistamisjuhiste, koostisosade loendi mõõtmetega, kategooria, köögi päritolu ja pisipildiga. Sobib ideaalselt funktsioonidele "mida ma täna õhtul küpsetama peaksin?", päeva retsepti vidinatele, toiduvalmistamise väljakutsete generaatoritele ja toiduplaneerimisrakenduste mitmekesisuse lisamiseks. Andmed pärinevad TheMealDB-st.
curl https://nordapi.ee/api/v1/recipes/random
{
"data": {
"area": "Vietnamese",
"category": "Vegetarian",
"id": "53246",
"ingredients": [
{
"ingredient": "Carrots",
"measure": "4 sliced"
},
{
"ingredient": "Red Cabbage",
"measure": "1/2 "
},
{
"ingredient": "Red Onions",
"measure": "2 sliced"
},
{
"ingredient": "Mint",
"measure": "Handful"
},
{
"ingredient": "Coriander Leaves",
"measure": "Handful"
},
{
"ingredient": "Roasted Peanut",
"measure": "Handful"
},
{
"ingredient": "Lime",
"measure": "Juice of 2"
},
{
"ingredient": "Ground Nut Oil",
"measure": "1 tablespoon"
},
{
"ingredient": "Red Chilli",
"measure": "1 chopped"
},
{
"ingredient": "Brown Sugar",
"measure": "1 tablespoon"
}
],
"instructions": "step 1\r\nTip the carrots, cabbage and onions into a bowl. Make the dressing by stirring the ingredients together until the sugar has dissolved. Pour over salad, tossing the vegetables in the dressing. Add the herbs, toss again, then scatter over the peanuts.",
"name": "Tangy carrot, cabbage & onion salad",
"source": "https://www.bbcgoodfood.com/recipes/tangy-carrot-red-cabbage-onion-salad",
"tags": [],
"thumbnail": "https://www.themealdb.com/images/media/meals/dbazbg1763779999.jpg",
"youtube": "https://www.youtube.com/watch?v=-BJWMkJMIns"
},
"success": true
}