GET /recipes/random
Hent en helt tilfeldig oppskrift med fullstendige kokeanvisninger, ingrediensliste med mål, kategori, kjøkkenopprinnelse og et miniatyrbilde. Perfekt for «hva skal jeg lage i dag?»-funksjoner, dagens oppskrift-widgets, kokeutfordringsgeneratorer og å legge til variasjon i måltidsplanleggingsapper. Data fra TheMealDB.
curl https://nordapi.ee/api/v1/recipes/random
{
"data": {
"area": "Polish",
"category": "Vegetarian",
"id": "53297",
"ingredients": [
{
"ingredient": "Olive Oil",
"measure": "60 ml "
},
{
"ingredient": "Lemon Juice",
"measure": "2 tablespoons"
},
{
"ingredient": "Honey",
"measure": "1 tablespoon"
},
{
"ingredient": "Thyme",
"measure": "2 sprigs"
},
{
"ingredient": "Baby Lettuce Leaves",
"measure": "100g "
},
{
"ingredient": "Cherry Tomatoes",
"measure": "250g"
},
{
"ingredient": "Spring Onions",
"measure": "3 chopped"
},
{
"ingredient": "Red Chilli",
"measure": "1 chopped"
},
{
"ingredient": "Pomegranate",
"measure": "1"
},
{
"ingredient": "Feta",
"measure": "50g"
}
],
"instructions": "step 1\r\nCombine the olive oil, lemon juice, honey and thyme leaves in a large bowl. Season well, then tip in the lettuce, tomatoes, spring onions and chilli, and toss to combine.\r\n\r\nstep 2\r\nScoop out the pomegranate seeds over a bowl and remove any white membrane. Arrange the dressed salad on a platter, then scatter over the pomegranate seeds and feta.",
"name": "Pomegranate salad",
"source": "https://www.bbcgoodfood.com/recipes/pomegranate-salad",
"tags": [],
"thumbnail": "https://www.themealdb.com/images/media/meals/fqpqml1764359125.jpg",
"youtube": "https://www.youtube.com/watch?v=wTqashUAid8"
},
"success": true
}