Cucchiaio cibo (editore indipendente) (anteprima)
Il cucchiaio Nutrizione, Ricetta e Cibo consente di accedere a oltre 380.000 ricette, migliaia di ingredienti, prodotti alimentari e voci di menu. Spoonacular Food consente di cercare ingredienti alimentari usando query in linguaggio naturale.
Questo connettore è disponibile nei prodotti e nelle aree seguenti:
| Servizio | Class | Regions |
|---|---|---|
| Copilot Studio | Di alta qualità | Tutte le aree di Power Automate , ad eccezione delle seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| App per la logica | Normale | Tutte le aree di App per la logica , ad eccezione delle seguenti: - Aree di Azure per enti pubblici - Aree di Azure Cina - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Power Apps | Di alta qualità | Tutte le aree di Power Apps , ad eccezione dei seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Power Automate | Di alta qualità | Tutte le aree di Power Automate , ad eccezione delle seguenti: - Governo degli Stati Uniti (GCC) - Us Government (GCC High) - China Cloud gestito da 21Vianet - Dipartimento della Difesa degli Stati Uniti (DoD) |
| Contatto | |
|---|---|
| Nome | Amjed Ayoub |
| URL | https://amjedayoub.github.io/portfolio |
| amjedkayoub@gmail.com |
| Metadati del connettore | |
|---|---|
| Editore | Amjed Ayoub |
| Sito web | https://spoonacular.com |
| Informativa sulla privacy | https://spoonacular.com/terms |
| Categorie | Sito web; Stile di vita e intrattenimento |
Creazione di una connessione
Il connettore supporta i tipi di autenticazione seguenti:
| Predefinita | Parametri per la creazione della connessione. | Tutte le aree geografiche | Non condivisibile |
Predefinito
Applicabile: tutte le aree
Parametri per la creazione della connessione.
Questa non è una connessione condivisibile. Se l'app power viene condivisa con un altro utente, verrà richiesto a un altro utente di creare una nuova connessione in modo esplicito.
| Nome | TIPO | Description | Obbligatorio |
|---|---|---|---|
| Chiave API | securestring | Chiave API per questa API |
Limiti per la limitazione delle richieste
| Nome | Chiamate | Periodo di rinnovo |
|---|---|---|
| Chiamate API per connessione | 100 | 60 secondi |
Azioni
| Abbinamento di piatti per il vino |
Trova un piatto che va bene con un determinato vino. |
| Analisi delle immagini in base all'URL |
Analizzare un'immagine alimentare. L'API tenta di classificare l'immagine, indovinare la nutrizione e trovare ricette corrispondenti. |
| Casuale Cibo Trivia |
Restituisce curiosità casuali per il cibo. |
| Cerca contenuto sito |
Cerca il contenuto del sito di cucchiaio. Potrai trovare tutto ciò che puoi trovare anche usando i suggerimenti di ricerca in spoonacular.com. Si tratta di un'API di suggerimento che consente di inviare stringhe parziali come query. |
| Cerca prodotti alimentari |
Cerca prodotti alimentari in pacchetto, ad esempio pizza congelata o yogurt greco. |
| Cerca prodotti alimentari da UPC |
Ottenere informazioni su un cibo in pacchetto usando il relativo UPC. |
| Cerca tutto cibo |
Cerca tutto il contenuto alimentare con una sola chiamata. Che include ricette, prodotti alimentari, voci di menu, cibi semplici (ingredienti) e video sul cibo. |
| Cerca video sul cibo |
Trova ricetta e altri video correlati al cibo. |
| Cerca voci di menu |
Cerca oltre 115.000 voci di menu da oltre 800 fast food e ristoranti a catena. Ad esempio, McDonald's Big Mac o Starbucks Mocha. |
| Classificazione delle immagini in base all'URL |
Classificare un'immagine alimentare. |
| Completamento automatico ricerca prodotto |
Generare suggerimenti per i prodotti alimentari in base a una query (parziale). Le corrispondenze verranno trovate cercando solo nel titolo. |
| Completamento automatico Ricerca voci di menu |
Generare suggerimenti per le voci di menu in base a una query (parziale). Le corrispondenze verranno trovate cercando solo nel titolo. |
| Compute Ingredient Amount |
Calcolare la quantità necessaria di un determinato ingrediente per un determinato obiettivo nutrizionale. Per esempio, quanto ananas devi mangiare per ottenere 10 grammi di proteine? |
| Descrizione del vino |
Ottenere una semplice descrizione di un certo vino, ad esempio "malbec", "riesling" o "[...]". |
| Immagine dell'etichetta di nutrizione voce di menu |
Visualizzare le informazioni sull'etichetta nutrizionale di una voce di menu come immagine. |
| Immagine dell'etichetta Product Nutrition |
Ottenere l'etichetta di nutrizione di un prodotto come immagine. |
| Menu Item Nutrition by ID Image |
Visualizzare le informazioni nutrizionali di una voce di menu come HTML incluso CSS. |
| Menu Item Nutrition Label Widget |
Visualizzare le informazioni sull'etichetta nutrizionale di una voce di menu come HTML incluso CSS. |
| Ottenere i sostituti degli ingredienti |
Cercare i sostituti di un determinato ingrediente. |
| Ottenere i sostituti degli ingredienti in base all'ID |
Cercare i sostituti di un determinato ingrediente. |
| Ottenere informazioni sugli ingredienti |
Usa un id ingrediente per ottenere tutte le informazioni disponibili su un ingrediente, ad esempio la sua immagine e il corridoio del supermercato. |
| Ottenere informazioni sul prodotto |
Utilizzare un ID prodotto per ottenere informazioni complete su un prodotto, ad esempio ingredienti, nutrizione e così via. Le informazioni nutrizionali sono per servizio. |
| Ottenere informazioni sulle voci di menu |
Usa un ID voce di menu per ottenere tutte le informazioni disponibili su una voce di menu, ad esempio la nutrizione. |
| Ottenere prodotti confrontabili |
Trova prodotti confrontabili con quello specificato. |
| Product Nutrition by ID Image |
Visualizzare le informazioni nutrizionali di un prodotto come immagine. |
| Product Nutrition by ID Widget |
Visualizzare le informazioni nutrizionali di un prodotto come HTML incluso CSS. |
| Product Nutrition Label Widget |
Ottenere l'etichetta di nutrizione di un prodotto come widget HTML. |
| Raccomandazione vino |
Ottenere una raccomandazione specifica per il vino (prodotto concreto) per un determinato tipo di vino, ad esempio "button". |
| Ricerca degli ingredienti |
Cerca cibi semplici (ad esempio frutta, verdura, noci, cereali, carne, pesce, latte e così via). |
| Ricerca ingrediente completamento automatico |
Completamento automatico della voce di un ingrediente. |
| Rilevare il cibo nel testo |
Prendi qualsiasi testo e trova tutte le menzioni di cibo contenute al suo interno. Questa attività è denominata anche Riconoscimento entità denominata (NER). In questo caso, le entità sono alimenti. Entrambi i piatti, come pizza o cheeseburger, o ingredienti, come cetriolo o mandorle. |
| Scherzo del cibo casuale |
Ottieni uno scherzo casuale correlato al cibo. Attenzione: questo è un endpoint per gli adulti! |
| Suggerimenti di conversazione |
Questo endpoint restituisce suggerimenti per gli elementi che l'utente può dire o chiedere al chatbot. |
| Vino |
Trova un vino che va bene con un cibo. Il cibo può essere un nome di piatto ("bistecca"), un nome di ingrediente ("salmone") o una cucina ("italiano"). |
Abbinamento di piatti per il vino
Trova un piatto che va bene con un determinato vino.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
Il vino. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Abbinamenti
|
pairings | array of string |
Abbinamenti |
|
text
|
text | string |
text |
Analisi delle immagini in base all'URL
Analizzare un'immagine alimentare. L'API tenta di classificare l'immagine, indovinare la nutrizione e trovare ricette corrispondenti.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
URL immagine
|
imageUrl | True | string |
URL dell'immagine. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
ricetteusate
|
nutrition.recipesUsed | integer |
ricetteusate |
|
value
|
nutrition.calories.value | integer |
value |
|
unità
|
nutrition.calories.unit | string |
unità |
|
min
|
nutrition.calories.confidenceRange95Percent.min | float |
min |
|
massimo
|
nutrition.calories.confidenceRange95Percent.max | float |
massimo |
|
standardDeviation
|
nutrition.calories.standardDeviation | float |
standardDeviation |
|
value
|
nutrition.fat.value | integer |
value |
|
unità
|
nutrition.fat.unit | string |
unità |
|
min
|
nutrition.fat.confidenceRange95Percent.min | float |
min |
|
massimo
|
nutrition.fat.confidenceRange95Percent.max | float |
massimo |
|
standardDeviation
|
nutrition.fat.standardDeviation | float |
standardDeviation |
|
value
|
nutrition.protein.value | integer |
value |
|
unità
|
nutrition.protein.unit | string |
unità |
|
min
|
nutrition.protein.confidenceRange95Percent.min | float |
min |
|
massimo
|
nutrition.protein.confidenceRange95Percent.max | float |
massimo |
|
standardDeviation
|
nutrition.protein.standardDeviation | float |
standardDeviation |
|
value
|
nutrition.carbs.value | integer |
value |
|
unità
|
nutrition.carbs.unit | string |
unità |
|
min
|
nutrition.carbs.confidenceRange95Percent.min | float |
min |
|
massimo
|
nutrition.carbs.confidenceRange95Percent.max | float |
massimo |
|
standardDeviation
|
nutrition.carbs.standardDeviation | float |
standardDeviation |
|
nome
|
category.name | string |
nome |
|
probabilità
|
category.probability | float |
probabilità |
|
ricette
|
recipes | array of object |
ricette |
|
id
|
recipes.id | integer |
id |
|
title
|
recipes.title | string |
title |
|
tipo di immagine
|
recipes.imageType | string |
tipo di immagine |
|
URL
|
recipes.url | string |
URL |
Casuale Cibo Trivia
Restituisce curiosità casuali per il cibo.
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
text
|
text | string |
text |
Cerca contenuto sito
Cerca il contenuto del sito di cucchiaio. Potrai trovare tutto ciò che puoi trovare anche usando i suggerimenti di ricerca in spoonacular.com. Si tratta di un'API di suggerimento che consente di inviare stringhe parziali come query.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Articles
|
Articles | array of object |
Articles |
|
dataPoints
|
Articles.dataPoints | array of |
dataPoints |
|
image
|
Articles.image | string |
image |
|
link
|
Articles.link | string |
link |
|
nome
|
Articles.name | string |
nome |
|
Prodotti alimentari
|
Grocery Products | array of object |
Prodotti alimentari |
|
dataPoints
|
Grocery Products.dataPoints | array of object |
dataPoints |
|
key
|
Grocery Products.dataPoints.key | string |
key |
|
value
|
Grocery Products.dataPoints.value | string |
value |
|
image
|
Grocery Products.image | string |
image |
|
link
|
Grocery Products.link | string |
link |
|
nome
|
Grocery Products.name | string |
nome |
|
Voci di menu
|
Menu Items | array of object |
Voci di menu |
|
dataPoints
|
Menu Items.dataPoints | array of object |
dataPoints |
|
key
|
Menu Items.dataPoints.key | string |
key |
|
value
|
Menu Items.dataPoints.value | string |
value |
|
image
|
Menu Items.image | string |
image |
|
link
|
Menu Items.link | string |
link |
|
nome
|
Menu Items.name | string |
nome |
|
Ricette
|
Recipes | array of object |
Ricette |
|
dataPoints
|
Recipes.dataPoints | array of object |
dataPoints |
|
key
|
Recipes.dataPoints.key | string |
key |
|
value
|
Recipes.dataPoints.value | string |
value |
|
image
|
Recipes.image | string |
image |
|
link
|
Recipes.link | string |
link |
|
nome
|
Recipes.name | string |
nome |
Cerca prodotti alimentari
Cerca prodotti alimentari in pacchetto, ad esempio pizza congelata o yogurt greco.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Min Calorie
|
minCalories | True | string |
Le calorie minime. |
|
Max Calories
|
maxCalories | True | string |
Le calorie massime. |
|
Min Carbs
|
minCarbs | True | string |
The min Carbs. |
|
Max Carbs
|
maxCarbs | True | string |
Il numero massimo di carboidrati. |
|
Min Protein
|
minProtein | True | string |
La proteina min. |
|
Max Protein
|
maxProtein | True | string |
La proteina massima. |
|
Min Fat
|
minFat | True | string |
Il minimo grasso. |
|
Max Fat
|
maxFat | True | string |
Il numero massimo di grassi. |
|
offset
|
offset | True | string |
compensare. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
products
|
products | array of object |
products |
|
id
|
products.id | integer |
id |
|
title
|
products.title | string |
title |
|
tipo di immagine
|
products.imageType | string |
tipo di immagine |
|
totalProducts
|
totalProducts | integer |
totalProducts |
|
type
|
type | string |
type |
|
offset
|
offset | integer |
offset |
|
numero
|
number | integer |
numero |
Cerca prodotti alimentari da UPC
Ottenere informazioni su un cibo in pacchetto usando il relativo UPC.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Upc
|
upc | True | string |
Upc. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
Distintivi
|
badges | array of string |
Distintivi |
|
importantBadges
|
importantBadges | array of string |
importantBadges |
|
percorsi di navigazione
|
breadcrumbs | array of string |
percorsi di navigazione |
|
generatedText
|
generatedText | string |
generatedText |
|
tipo di immagine
|
imageType | string |
tipo di immagine |
|
ingredientCount
|
ingredientCount | integer |
ingredientCount |
|
ingredientList
|
ingredientList | string |
ingredientList |
|
ingredienti
|
ingredients | array of object |
ingredienti |
|
descrizione
|
ingredients.description | string |
descrizione |
|
nome
|
ingredients.name | string |
nome |
|
safety_level
|
ingredients.safety_level | string |
safety_level |
|
preferenza
|
likes | integer |
preferenza |
|
Nutrienti
|
nutrition.nutrients | array of object |
Nutrienti |
|
nome
|
nutrition.nutrients.name | string |
nome |
|
importo
|
nutrition.nutrients.amount | integer |
importo |
|
unità
|
nutrition.nutrients.unit | string |
unità |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
percentoe
|
nutrition.caloricBreakdown.percentProtein | float |
percentoe |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
price
|
price | integer |
price |
|
numero
|
servings.number | integer |
numero |
|
size
|
servings.size | integer |
size |
|
unità
|
servings.unit | string |
unità |
|
spoonacularScore
|
spoonacularScore | integer |
spoonacularScore |
Cerca tutto cibo
Cerca tutto il contenuto alimentare con una sola chiamata. Che include ricette, prodotti alimentari, voci di menu, cibi semplici (ingredienti) e video sul cibo.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
offset
|
offset | True | string |
compensare. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
query
|
query | string |
query |
|
totalResults
|
totalResults | integer |
totalResults |
|
limit
|
limit | integer |
limit |
|
offset
|
offset | integer |
offset |
|
searchRisultati
|
searchResults | array of object |
searchRisultati |
|
nome
|
searchResults.name | string |
nome |
|
totalResults
|
searchResults.totalResults | integer |
totalResults |
|
results
|
searchResults.results | array of object |
results |
|
id
|
searchResults.results.id | string |
id |
|
nome
|
searchResults.results.name | string |
nome |
|
image
|
searchResults.results.image | string |
image |
|
link
|
searchResults.results.link | string |
link |
|
type
|
searchResults.results.type | string |
type |
|
pertinenza
|
searchResults.results.relevance | integer |
pertinenza |
|
contenuto
|
searchResults.results.content | string |
contenuto |
Cerca video sul cibo
Trova ricetta e altri video correlati al cibo.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
TIPO
|
type | True | string |
Tipo. |
|
Cucina
|
cuisine | True | string |
La cucina. |
|
Dieta
|
diet | True | string |
La dieta. |
|
Ingredienti inclusi
|
includeIngredients | True | string |
Gli ingredienti inclusi. |
|
Ingredienti esclusi
|
excludeIngredients | True | string |
Ingredienti esclusi. |
|
Lunghezza minima
|
minLength | True | string |
Lunghezza minima. |
|
Lunghezza massima
|
maxLength | True | string |
Lunghezza massima. |
|
offset
|
offset | True | string |
compensare. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
videos
|
videos | array of object |
videos |
|
title
|
videos.title | string |
title |
|
length
|
videos.length | integer |
length |
|
valutazione
|
videos.rating | integer |
valutazione |
|
titolo breve
|
videos.shortTitle | string |
titolo breve |
|
miniatura
|
videos.thumbnail | string |
miniatura |
|
views
|
videos.views | integer |
views |
|
YouTubeId
|
videos.youTubeId | string |
YouTubeId |
|
totalResults
|
totalResults | integer |
totalResults |
Cerca voci di menu
Cerca oltre 115.000 voci di menu da oltre 800 fast food e ristoranti a catena. Ad esempio, McDonald's Big Mac o Starbucks Mocha.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Min Calorie
|
minCalories | True | string |
Le calorie minime. |
|
Max Calories
|
maxCalories | True | string |
Le calorie massime. |
|
Min Carbs
|
minCarbs | True | string |
The min Carbs. |
|
Max Carbs
|
maxCarbs | True | string |
Il numero massimo di carboidrati. |
|
Min Protein
|
minProtein | True | string |
La proteina min. |
|
Max Protein
|
maxProtein | True | string |
La proteina massima. |
|
Min Fat
|
minFat | True | string |
Il minimo di grasso. |
|
Max Fat
|
maxFat | True | string |
Il grasso massimo. |
|
offset
|
offset | True | string |
compensare. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
menuItems
|
menuItems | array of object |
menuItems |
|
id
|
menuItems.id | integer |
id |
|
title
|
menuItems.title | string |
title |
|
restaurantChain
|
menuItems.restaurantChain | string |
restaurantChain |
|
image
|
menuItems.image | string |
image |
|
tipo di immagine
|
menuItems.imageType | string |
tipo di immagine |
|
numero
|
menuItems.servings.number | integer |
numero |
|
size
|
menuItems.servings.size | integer |
size |
|
unità
|
menuItems.servings.unit | string |
unità |
|
totalMenuItems
|
totalMenuItems | integer |
totalMenuItems |
|
type
|
type | string |
type |
|
offset
|
offset | integer |
offset |
|
numero
|
number | integer |
numero |
Classificazione delle immagini in base all'URL
Classificare un'immagine alimentare.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
URL immagine
|
imageUrl | True | string |
URL dell'immagine. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
categoria
|
category | string |
categoria |
|
probabilità
|
probability | float |
probabilità |
Completamento automatico ricerca prodotto
Generare suggerimenti per i prodotti alimentari in base a una query (parziale). Le corrispondenze verranno trovate cercando solo nel titolo.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
title
|
results.title | string |
title |
Completamento automatico Ricerca voci di menu
Generare suggerimenti per le voci di menu in base a una query (parziale). Le corrispondenze verranno trovate cercando solo nel titolo.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
title
|
results.title | string |
title |
Compute Ingredient Amount
Calcolare la quantità necessaria di un determinato ingrediente per un determinato obiettivo nutrizionale. Per esempio, quanto ananas devi mangiare per ottenere 10 grammi di proteine?
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Nutriente
|
nutrient | True | string |
Il nutriente della ricetta. |
|
Obiettivo
|
target | True | string |
Destinazione. |
|
Unità
|
unit | True | string |
Unità. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
importo
|
amount | float |
importo |
|
unità
|
unit | string |
unità |
Descrizione del vino
Ottenere una semplice descrizione di un certo vino, ad esempio "malbec", "riesling" o "[...]".
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
Il vino. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
wineDescription
|
wineDescription | string |
wineDescription |
Immagine dell'etichetta di nutrizione voce di menu
Visualizzare le informazioni sull'etichetta nutrizionale di una voce di menu come immagine.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Mostra nutrienti facoltativi
|
showOptionalNutrients | True | string |
Mostra nutrienti facoltativi. |
|
Mostra valori zero
|
showZeroValues | True | string |
Mostra valori zero. |
|
Mostra ingredienti
|
showIngredients | True | string |
Mostra ingredienti. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Immagine dell'etichetta Product Nutrition
Ottenere l'etichetta di nutrizione di un prodotto come immagine.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Mostra nutrienti facoltativi
|
showOptionalNutrients | True | string |
Mostra nutrienti facoltativi. |
|
Mostra valori zero
|
showZeroValues | True | string |
Mostra valori zero. |
|
Mostra ingredienti
|
showIngredients | True | string |
Mostra ingredienti. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Menu Item Nutrition by ID Image
Visualizzare le informazioni nutrizionali di una voce di menu come HTML incluso CSS.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Menu Item Nutrition Label Widget
Visualizzare le informazioni sull'etichetta nutrizionale di una voce di menu come HTML incluso CSS.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
DefaultCs
|
defaultCss | True | string |
Valori predefiniti. |
|
Mostra nutrienti facoltativi
|
showOptionalNutrients | True | string |
Mostra nutrienti facoltativi. |
|
Mostra valori zero
|
showZeroValues | True | string |
Mostra valori zero. |
|
Mostra ingredienti
|
showIngredients | True | string |
Mostra ingredienti. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Ottenere i sostituti degli ingredienti
Cercare i sostituti di un determinato ingrediente.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Nome ingrediente
|
ingredientName | True | string |
Nome dell'ingrediente. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
ingrediente
|
ingredient | string |
ingrediente |
|
Sostituti
|
substitutes | array of string |
Sostituti |
|
message
|
message | string |
message |
Ottenere i sostituti degli ingredienti in base all'ID
Cercare i sostituti di un determinato ingrediente.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
ingrediente
|
ingredient | string |
ingrediente |
|
Sostituti
|
substitutes | array of string |
Sostituti |
|
message
|
message | string |
message |
Ottenere informazioni sugli ingredienti
Usa un id ingrediente per ottenere tutte le informazioni disponibili su un ingrediente, ad esempio la sua immagine e il corridoio del supermercato.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Importo
|
amount | True | string |
Quantità. |
|
Unità
|
unit | True | string |
Unità. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
id
|
id | integer |
id |
|
Originale
|
original | string |
Originale |
|
originalName
|
originalName | string |
originalName |
|
nome
|
name | string |
nome |
|
nameClean
|
nameClean | string |
nameClean |
|
importo
|
amount | integer |
importo |
|
unità
|
unit | string |
unità |
|
unitShort
|
unitShort | string |
unitShort |
|
unitLong
|
unitLong | string |
unitLong |
|
possibleUnits
|
possibleUnits | array of string |
possibleUnits |
|
value
|
estimatedCost.value | integer |
value |
|
unità
|
estimatedCost.unit | string |
unità |
|
consistenza
|
consistency | string |
consistenza |
|
shoppingListUnits
|
shoppingListUnits | array of string |
shoppingListUnits |
|
corsia
|
aisle | string |
corsia |
|
image
|
image | string |
image |
|
meta
|
meta | array of |
meta |
|
Nutrienti
|
nutrition.nutrients | array of object |
Nutrienti |
|
nome
|
nutrition.nutrients.name | string |
nome |
|
importo
|
nutrition.nutrients.amount | float |
importo |
|
unità
|
nutrition.nutrients.unit | string |
unità |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
proprietà
|
nutrition.properties | array of object |
proprietà |
|
nome
|
nutrition.properties.name | string |
nome |
|
importo
|
nutrition.properties.amount | float |
importo |
|
unità
|
nutrition.properties.unit | string |
unità |
|
percentoe
|
nutrition.caloricBreakdown.percentProtein | float |
percentoe |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | float |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
importo
|
nutrition.weightPerServing.amount | integer |
importo |
|
unità
|
nutrition.weightPerServing.unit | string |
unità |
|
categoryPath
|
categoryPath | array of string |
categoryPath |
Ottenere informazioni sul prodotto
Utilizzare un ID prodotto per ottenere informazioni complete su un prodotto, ad esempio ingredienti, nutrizione e così via. Le informazioni nutrizionali sono per servizio.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
percorsi di navigazione
|
breadcrumbs | array of string |
percorsi di navigazione |
|
tipo di immagine
|
imageType | string |
tipo di immagine |
|
Distintivi
|
badges | array of string |
Distintivi |
|
importantBadges
|
importantBadges | array of string |
importantBadges |
|
ingredientCount
|
ingredientCount | integer |
ingredientCount |
|
generatedText
|
generatedText | string |
generatedText |
|
ingredientList
|
ingredientList | string |
ingredientList |
|
ingredienti
|
ingredients | array of object |
ingredienti |
|
descrizione
|
ingredients.description | string |
descrizione |
|
nome
|
ingredients.name | string |
nome |
|
safety_level
|
ingredients.safety_level | string |
safety_level |
|
preferenza
|
likes | integer |
preferenza |
|
corsia
|
aisle | string |
corsia |
|
Nutrienti
|
nutrition.nutrients | array of object |
Nutrienti |
|
nome
|
nutrition.nutrients.name | string |
nome |
|
importo
|
nutrition.nutrients.amount | integer |
importo |
|
unità
|
nutrition.nutrients.unit | string |
unità |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
percentoe
|
nutrition.caloricBreakdown.percentProtein | float |
percentoe |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
price
|
price | integer |
price |
|
numero
|
servings.number | integer |
numero |
|
size
|
servings.size | integer |
size |
|
unità
|
servings.unit | string |
unità |
|
spoonacularScore
|
spoonacularScore | integer |
spoonacularScore |
Ottenere informazioni sulle voci di menu
Usa un ID voce di menu per ottenere tutte le informazioni disponibili su una voce di menu, ad esempio la nutrizione.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
restaurantChain
|
restaurantChain | string |
restaurantChain |
|
Nutrienti
|
nutrition.nutrients | array of object |
Nutrienti |
|
nome
|
nutrition.nutrients.name | string |
nome |
|
importo
|
nutrition.nutrients.amount | integer |
importo |
|
unità
|
nutrition.nutrients.unit | string |
unità |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | integer |
percentOfDailyNeeds |
|
percentoe
|
nutrition.caloricBreakdown.percentProtein | integer |
percentoe |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | integer |
percentCarbs |
|
Distintivi
|
badges | array of |
Distintivi |
|
percorsi di navigazione
|
breadcrumbs | array of string |
percorsi di navigazione |
|
generatedText
|
generatedText | string |
generatedText |
|
tipo di immagine
|
imageType | string |
tipo di immagine |
|
preferenza
|
likes | integer |
preferenza |
|
numero
|
servings.number | integer |
numero |
|
size
|
servings.size | integer |
size |
|
unità
|
servings.unit | string |
unità |
|
price
|
price | float |
price |
|
spoonacularScore
|
spoonacularScore | float |
spoonacularScore |
Ottenere prodotti confrontabili
Trova prodotti confrontabili con quello specificato.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Upc
|
upc | True | string |
Upc. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
Calorie
|
comparableProducts.calories | array of |
Calorie |
|
preferenza
|
comparableProducts.likes | array of |
preferenza |
|
price
|
comparableProducts.price | array of |
price |
|
proteina
|
comparableProducts.protein | array of object |
proteina |
|
differenza
|
comparableProducts.protein.difference | integer |
differenza |
|
id
|
comparableProducts.protein.id | integer |
id |
|
image
|
comparableProducts.protein.image | string |
image |
|
title
|
comparableProducts.protein.title | string |
title |
|
spoonacularScore
|
comparableProducts.spoonacularScore | array of object |
spoonacularScore |
|
differenza
|
comparableProducts.spoonacularScore.difference | integer |
differenza |
|
id
|
comparableProducts.spoonacularScore.id | integer |
id |
|
image
|
comparableProducts.spoonacularScore.image | string |
image |
|
title
|
comparableProducts.spoonacularScore.title | string |
title |
|
zucchero
|
comparableProducts.sugar | array of |
zucchero |
Product Nutrition by ID Image
Visualizzare le informazioni nutrizionali di un prodotto come immagine.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Product Nutrition by ID Widget
Visualizzare le informazioni nutrizionali di un prodotto come HTML incluso CSS.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
DefaultCs
|
defaultCss | True | string |
Valori predefiniti. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Product Nutrition Label Widget
Ottenere l'etichetta di nutrizione di un prodotto come widget HTML.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
DefaultCs
|
defaultCss | True | string |
Valori predefiniti. |
|
Mostra nutrienti facoltativi
|
showOptionalNutrients | True | string |
Mostra nutrienti facoltativi. |
|
Mostra valori zero
|
showZeroValues | True | string |
Mostra valori zero. |
|
Mostra ingredienti
|
showIngredients | True | string |
Mostra ingredienti. |
|
Documento d'identità
|
id | True | string |
The ID. |
Restituisce
- response
- string
Raccomandazione vino
Ottenere una raccomandazione specifica per il vino (prodotto concreto) per un determinato tipo di vino, ad esempio "button".
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
Il vino. |
|
Prezzo massimo
|
maxPrice | True | string |
Prezzo massimo. |
|
Valutazione minima
|
minRating | True | string |
Classificazione minima. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
recommendedWines
|
recommendedWines | array of object |
recommendedWines |
|
id
|
recommendedWines.id | integer |
id |
|
title
|
recommendedWines.title | string |
title |
|
averageRating
|
recommendedWines.averageRating | float |
averageRating |
|
descrizione
|
recommendedWines.description | string |
descrizione |
|
imageUrl
|
recommendedWines.imageUrl | string |
imageUrl |
|
link
|
recommendedWines.link | string |
link |
|
price
|
recommendedWines.price | string |
price |
|
ratingCount
|
recommendedWines.ratingCount | integer |
ratingCount |
|
Punteggio
|
recommendedWines.score | float |
Punteggio |
|
totalFound
|
totalFound | integer |
totalFound |
Ricerca degli ingredienti
Cerca cibi semplici (ad esempio frutta, verdura, noci, cereali, carne, pesce, latte e così via).
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
addChildren
|
addChildren | True | string |
addChildren. |
|
Percentuale minima di proteine
|
minProteinPercent | True | string |
Percentuale minima di proteine. |
|
Percentuale massima di proteine
|
maxProteinPercent | True | string |
Percentuale massima di proteine. |
|
Percentuale minima di grasso
|
minFatPercent | True | string |
Percentuale minima di grasso. |
|
Percentuale massima di grasso
|
maxFatPercent | True | string |
Percentuale massima di grasso. |
|
Percentuale min carboidrati
|
minCarbsPercent | True | string |
Percentuale minima di carboidrati. |
|
Percentuale massima di carboidrati
|
maxCarbsPercent | True | string |
Percentuale massima di carboidrati. |
|
MetaInformation
|
metaInformation | True | string |
MetaInformation. |
|
Intolleranze
|
intolerances | True | string |
Le intolleranze. |
|
Ordinamento
|
sort | True | string |
Sorta. |
|
Direzione ordinamento
|
sortDirection | True | string |
Direzione di ordinamento. |
|
offset
|
offset | True | string |
compensare. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
nome
|
results.name | string |
nome |
|
image
|
results.image | string |
image |
|
offset
|
offset | integer |
offset |
|
numero
|
number | integer |
numero |
|
totalResults
|
totalResults | integer |
totalResults |
Ricerca ingrediente completamento automatico
Completamento automatico della voce di un ingrediente.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Number
|
number | True | string |
Numero. |
|
MetaInformation
|
metaInformation | True | string |
MetaInformation. |
|
Intolleranze
|
intolerances | True | string |
Le intolleranze. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
|
array of object | ||
|
nome
|
name | string |
nome |
|
image
|
image | string |
image |
|
id
|
id | integer |
id |
|
corsia
|
aisle | string |
corsia |
|
possibleUnits
|
possibleUnits | array of string |
possibleUnits |
Rilevare il cibo nel testo
Prendi qualsiasi testo e trova tutte le menzioni di cibo contenute al suo interno. Questa attività è denominata anche Riconoscimento entità denominata (NER). In questo caso, le entità sono alimenti. Entrambi i piatti, come pizza o cheeseburger, o ingredienti, come cetriolo o mandorle.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Tipo di contenuto
|
Content-Type | True | string |
Content-Type |
|
key
|
key | string |
key |
|
|
value
|
value | string |
value |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
annotazioni
|
annotations | array of object |
annotazioni |
|
Annotazione
|
annotations.annotation | string |
Annotazione |
|
image
|
annotations.image | string |
image |
|
tag
|
annotations.tag | string |
tag |
Scherzo del cibo casuale
Ottieni uno scherzo casuale correlato al cibo. Attenzione: questo è un endpoint per gli adulti!
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
text
|
text | string |
text |
Suggerimenti di conversazione
Questo endpoint restituisce suggerimenti per gli elementi che l'utente può dire o chiedere al chatbot.
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Query
|
query | True | string |
The Query. |
|
Number
|
number | True | string |
Numero. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
_
|
suggests._ | array of object |
_ |
|
nome
|
suggests._.name | string |
nome |
|
words
|
words | array of |
words |
Vino
Trova un vino che va bene con un cibo. Il cibo può essere un nome di piatto ("bistecca"), un nome di ingrediente ("salmone") o una cucina ("italiano").
Parametri
| Nome | Chiave | Necessario | Tipo | Descrizione |
|---|---|---|---|---|
|
Cibo
|
food | True | string |
Il cibo. |
|
Prezzo massimo
|
maxPrice | True | string |
Prezzo massimo. |
Restituisce
| Nome | Percorso | Tipo | Descrizione |
|---|---|---|---|
|
pairedWines
|
pairedWines | array of string |
pairedWines |
|
pairingText
|
pairingText | string |
pairingText |
|
productMatches
|
productMatches | array of object |
productMatches |
|
id
|
productMatches.id | integer |
id |
|
title
|
productMatches.title | string |
title |
|
averageRating
|
productMatches.averageRating | integer |
averageRating |
|
descrizione
|
productMatches.description | string |
descrizione |
|
imageUrl
|
productMatches.imageUrl | string |
imageUrl |
|
link
|
productMatches.link | string |
link |
|
price
|
productMatches.price | string |
price |
|
ratingCount
|
productMatches.ratingCount | integer |
ratingCount |
|
Punteggio
|
productMatches.score | float |
Punteggio |
Definizioni
corda
Si tratta del tipo di dati di base 'string'.