Spoonacular Food (Editor independiente) (versión preliminar)
La nutrición, receta y alimentos de la cuchara le permite acceder a más de 380.000 recetas, miles de ingredientes, productos alimenticios y artículos de menú. Spoonacular Food permite buscar ingredientes alimenticios mediante consultas en lenguaje natural.
Este conector está disponible en los siguientes productos y regiones:
| Service | Class | Regions |
|---|---|---|
| Copilot Studio | Premium | Todas las regiones de Power Automate excepto las siguientes: - Gobierno de EE. UU. (GCC) - Gobierno de EE. UU. (GCC High) - China Cloud operado por 21Vianet - Departamento de Defensa de EE. UU. (DoD) |
| Aplicaciones lógicas | Estándar | Todas las regiones de Logic Apps excepto las siguientes: - Regiones de Azure Government - Regiones de Azure China - Departamento de Defensa de EE. UU. (DoD) |
| Power Apps | Premium | Todas las regiones de Power Apps excepto las siguientes: - Gobierno de EE. UU. (GCC) - Gobierno de EE. UU. (GCC High) - China Cloud operado por 21Vianet - Departamento de Defensa de EE. UU. (DoD) |
| Power Automate | Premium | Todas las regiones de Power Automate excepto las siguientes: - Gobierno de EE. UU. (GCC) - Gobierno de EE. UU. (GCC High) - China Cloud operado por 21Vianet - Departamento de Defensa de EE. UU. (DoD) |
| Contacto | |
|---|---|
| Nombre | Amjed Ayoub |
| URL | https://amjedayoub.github.io/portfolio |
| Correo Electrónico | amjedkayoub@gmail.com |
| Metadatos del conector | |
|---|---|
| Publicador | Amjed Ayoub |
| Website | https://spoonacular.com |
| Directiva de privacidad | https://spoonacular.com/terms |
| Categorías | Sitio web; Estilo de vida y entretenimiento |
Creación de una conexión
El conector admite los siguientes tipos de autenticación:
| Predeterminado | Parámetros para crear una conexión. | Todas las regiones | No se puede compartir |
Predeterminado
Aplicable: Todas las regiones
Parámetros para crear una conexión.
Esta conexión no se puede compartir. Si la aplicación de energía se comparte con otro usuario, se pedirá a otro usuario que cree explícitamente una nueva conexión.
| Nombre | Tipo | Description | Obligatorio |
|---|---|---|---|
| Clave de API | securestring | La clave de API de esta API |
Limitaciones
| Nombre | Llamadas | Período de renovación |
|---|---|---|
| Llamadas API por conexión | 100 | 60 segundos |
Acciones
| Análisis de imágenes por dirección URL |
Analice una imagen de comida. La API intenta clasificar la imagen, adivinar la nutrición y encontrar una receta coincidente. |
| Autocompletar búsqueda de productos |
Genere sugerencias para productos de comestibles en función de una consulta (parcial). Las coincidencias se encontrarán buscando solo en el título. |
| Broma de comida aleatoria |
Obtén una broma aleatoria relacionada con la comida. Precaución: este es un punto de conexión para adultos. |
| Buscar contenido del sitio |
Buscar contenido del sitio de spoonacular. Podrá encontrar todo lo que también puede encontrar con las sugerencias de búsqueda en spoonacular.com. Se trata de una API de sugerencia para que pueda enviar cadenas parciales como consultas. |
| Buscar productos de comestibles |
Buscar productos alimenticios empaquetados, como pizzas inmovilizadas o yogur griego. |
| Buscar productos de comestibles por UPC |
Obtenga información sobre una comida empaquetada utilizando su UPC. |
| Buscar todo el alimento |
Busque todo el contenido de comida con una sola llamada. Esto incluye recetas, productos de comestibles, artículos de menú, alimentos simples (ingredientes) y vídeos de comida. |
| Buscar vídeos de comida |
Encuentra recetas y otros vídeos relacionados con la comida. |
| Búsqueda de elementos de menú autocompletar |
Genere sugerencias para los elementos de menú en función de una consulta (parcial). Las coincidencias se encontrarán buscando solo en el título. |
| Búsqueda de ingredientes |
Busque alimentos enteros simples (por ejemplo, frutas, verduras, frutos secos, granos, carne, pescado, lácteos, etc.). |
| Búsqueda de ingredientes autocompletar |
Autocompletar la entrada de un ingrediente. |
| Cantidad de ingredientes de proceso |
Calcule la cantidad que necesita de un determinado ingrediente para un determinado objetivo nutricional. Por ejemplo, ¿cuánto piña tienes que comer para obtener 10 gramos de proteína? |
| Clasificación de imágenes por dirección URL |
Clasificar una imagen de comida. |
| Descripción del vino |
Obtenga una descripción sencilla de un determinado vino, por ejemplo, "malbec", "riesling" o "merlot". |
| Detección de alimentos en texto |
Tome cualquier texto y encuentre todas las menciones de la comida contenida en él. Esta tarea también se denomina Reconocimiento de entidades con nombre (NER). En este caso, las entidades son alimentos. Ya sea platos, como pizzas o quesos o ingredientes, como el pepino o las almendras. |
| Elemento de menú Nutrición por id. imagen |
Visualizar la información nutricional de un elemento de menú como HTML, incluido CSS. |
| Elementos del menú Buscar |
Buscar más de 115 000 elementos de menú desde más de 800 restaurantes de comida rápida y cadena. Por ejemplo, McDonald's Big Mac o Starbucks Mocha. |
| Imagen de etiqueta de nutrición del elemento de menú |
Visualizar la información de etiquetas nutricionales de un elemento de menú como una imagen. |
| Imagen de etiqueta de nutrición del producto |
Obtener la etiqueta de nutrición de un producto como una imagen. |
| Maridaje de platos para vino |
Encuentra un plato que va bien con un vino dado. |
| Maridaje de vinos |
Encuentra un vino que va bien con una comida. La comida puede ser un nombre de plato ("filete"), un nombre de ingrediente ("salmón") o una cocina ("italiano"). |
| Obtener información de ingredientes |
Usa un identificador de ingrediente para obtener toda la información disponible sobre un ingrediente, como su imagen y pasillo de supermercado. |
| Obtener información del elemento de menú |
Use un identificador de elemento de menú para obtener toda la información disponible sobre un elemento de menú, como nutrición. |
| Obtener información del producto |
Use un id. de producto para obtener información completa sobre un producto, como ingredientes, nutrición, etc. La información nutricional es por servicio. |
| Obtener productos comparables |
Encuentra productos comparables a los dados. |
| Obtener sustitutos de ingredientes |
Busque sustitutos de un ingrediente determinado. |
| Obtener sustitutos de ingredientes por identificador |
Busque sustitutos de un ingrediente determinado. |
| Product Nutrition by ID Image |
Visualizar la información nutricional de un producto como una imagen. |
| Product Nutrition by ID Widget |
Visualizar la información nutricional de un producto como HTML, incluido CSS. |
| Recomendación del vino |
Obtener una recomendación de vino específica (producto concreto) para un tipo de vino determinado, por ejemplo, "merlot". |
| Sugerir conversaciones |
Este punto de conexión devuelve sugerencias para las cosas que el usuario puede decir o preguntar al bot de chat. |
| Trivia de alimentos aleatorios |
Devuelve una trivia de comida aleatoria. |
| Widget de etiqueta de nutrición de elemento de menú |
Visualizar la información de etiquetas nutricionales de un elemento de menú como HTML, incluido CSS. |
| Widget de etiqueta de nutrición del producto |
Obtenga la etiqueta de nutrición de un producto como un widget HTML. |
Análisis de imágenes por dirección URL
Analice una imagen de comida. La API intenta clasificar la imagen, adivinar la nutrición y encontrar una receta coincidente.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Dirección URL de la imagen
|
imageUrl | True | string |
Dirección URL de la imagen. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
recipesUsed
|
nutrition.recipesUsed | integer |
recipesUsed |
|
value
|
nutrition.calories.value | integer |
value |
|
unit
|
nutrition.calories.unit | string |
unit |
|
min
|
nutrition.calories.confidenceRange95Percent.min | float |
min |
|
max
|
nutrition.calories.confidenceRange95Percent.max | float |
max |
|
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 |
|
max
|
nutrition.fat.confidenceRange95Percent.max | float |
max |
|
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 |
|
max
|
nutrition.protein.confidenceRange95Percent.max | float |
max |
|
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 |
|
max
|
nutrition.carbs.confidenceRange95Percent.max | float |
max |
|
standardDeviation
|
nutrition.carbs.standardDeviation | float |
standardDeviation |
|
nombre
|
category.name | string |
nombre |
|
probabilidad
|
category.probability | float |
probabilidad |
|
recetas
|
recipes | array of object |
recetas |
|
id
|
recipes.id | integer |
id |
|
title
|
recipes.title | string |
title |
|
tipoDeImagen
|
recipes.imageType | string |
tipoDeImagen |
|
URL
|
recipes.url | string |
URL |
Autocompletar búsqueda de productos
Genere sugerencias para productos de comestibles en función de una consulta (parcial). Las coincidencias se encontrarán buscando solo en el título.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
title
|
results.title | string |
title |
Broma de comida aleatoria
Obtén una broma aleatoria relacionada con la comida. Precaución: este es un punto de conexión para adultos.
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
texto
|
text | string |
texto |
Buscar contenido del sitio
Buscar contenido del sitio de spoonacular. Podrá encontrar todo lo que también puede encontrar con las sugerencias de búsqueda en spoonacular.com. Se trata de una API de sugerencia para que pueda enviar cadenas parciales como consultas.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
Articles
|
Articles | array of object |
Articles |
|
dataPoints
|
Articles.dataPoints | array of |
dataPoints |
|
image
|
Articles.image | string |
image |
|
link
|
Articles.link | string |
link |
|
nombre
|
Articles.name | string |
nombre |
|
Productos de comestibles
|
Grocery Products | array of object |
Productos de comestibles |
|
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 |
|
nombre
|
Grocery Products.name | string |
nombre |
|
Elementos de menú
|
Menu Items | array of object |
Elementos de menú |
|
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 |
|
nombre
|
Menu Items.name | string |
nombre |
|
Recetas
|
Recipes | array of object |
Recetas |
|
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 |
|
nombre
|
Recipes.name | string |
nombre |
Buscar productos de comestibles
Buscar productos alimenticios empaquetados, como pizzas inmovilizadas o yogur griego.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Calorías mínimas
|
minCalories | True | string |
Las calorías mínimas. |
|
Calorías máximas
|
maxCalories | True | string |
Las calorías máximas. |
|
Min Carbs
|
minCarbs | True | string |
Los carbohidratos mínimos. |
|
Max Carbs
|
maxCarbs | True | string |
Los carbohidratos máximos. |
|
Proteína mínima
|
minProtein | True | string |
La proteína mínima. |
|
Max Protein
|
maxProtein | True | string |
La proteína máxima. |
|
Grasa mínima
|
minFat | True | string |
El mínimo gordo. |
|
Max Fat
|
maxFat | True | string |
El máximo de grasa. |
|
offset
|
offset | True | string |
compensar. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
products
|
products | array of object |
products |
|
id
|
products.id | integer |
id |
|
title
|
products.title | string |
title |
|
tipoDeImagen
|
products.imageType | string |
tipoDeImagen |
|
totalProducts
|
totalProducts | integer |
totalProducts |
|
type
|
type | string |
type |
|
offset
|
offset | integer |
offset |
|
number
|
number | integer |
number |
Buscar productos de comestibles por UPC
Obtenga información sobre una comida empaquetada utilizando su UPC.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Upc
|
upc | True | string |
El carné. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
Insignias
|
badges | array of string |
Insignias |
|
importantBadges
|
importantBadges | array of string |
importantBadges |
|
rutas de navegación
|
breadcrumbs | array of string |
rutas de navegación |
|
generatedText
|
generatedText | string |
generatedText |
|
tipoDeImagen
|
imageType | string |
tipoDeImagen |
|
ingredientCount
|
ingredientCount | integer |
ingredientCount |
|
ingredientList
|
ingredientList | string |
ingredientList |
|
ingredientes
|
ingredients | array of object |
ingredientes |
|
descripción
|
ingredients.description | string |
descripción |
|
nombre
|
ingredients.name | string |
nombre |
|
safety_level
|
ingredients.safety_level | string |
safety_level |
|
Le gusta
|
likes | integer |
Le gusta |
|
nutrientes
|
nutrition.nutrients | array of object |
nutrientes |
|
nombre
|
nutrition.nutrients.name | string |
nombre |
|
importe
|
nutrition.nutrients.amount | integer |
importe |
|
unit
|
nutrition.nutrients.unit | string |
unit |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
percentProteína
|
nutrition.caloricBreakdown.percentProtein | float |
percentProteína |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
precio
|
price | integer |
precio |
|
number
|
servings.number | integer |
number |
|
size
|
servings.size | integer |
size |
|
unit
|
servings.unit | string |
unit |
|
spoonacularScore
|
spoonacularScore | integer |
spoonacularScore |
Buscar todo el alimento
Busque todo el contenido de comida con una sola llamada. Esto incluye recetas, productos de comestibles, artículos de menú, alimentos simples (ingredientes) y vídeos de comida.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
offset
|
offset | True | string |
compensar. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
query
|
query | string |
query |
|
totalResults
|
totalResults | integer |
totalResults |
|
limit
|
limit | integer |
limit |
|
offset
|
offset | integer |
offset |
|
searchResults
|
searchResults | array of object |
searchResults |
|
nombre
|
searchResults.name | string |
nombre |
|
totalResults
|
searchResults.totalResults | integer |
totalResults |
|
results
|
searchResults.results | array of object |
results |
|
id
|
searchResults.results.id | string |
id |
|
nombre
|
searchResults.results.name | string |
nombre |
|
image
|
searchResults.results.image | string |
image |
|
link
|
searchResults.results.link | string |
link |
|
type
|
searchResults.results.type | string |
type |
|
pertinencia
|
searchResults.results.relevance | integer |
pertinencia |
|
contenido
|
searchResults.results.content | string |
contenido |
Buscar vídeos de comida
Encuentra recetas y otros vídeos relacionados con la comida.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Tipo
|
type | True | string |
Tipo. |
|
Cocina
|
cuisine | True | string |
La cocina. |
|
Dieta
|
diet | True | string |
La dieta. |
|
Ingredientes incluidos
|
includeIngredients | True | string |
Los ingredientes incluidos. |
|
Ingredientes excluidos
|
excludeIngredients | True | string |
Ingredientes excluidos. |
|
Longitud mínima
|
minLength | True | string |
Longitud mínima. |
|
Longitud máxima
|
maxLength | True | string |
Longitud máxima. |
|
offset
|
offset | True | string |
compensar. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
videos
|
videos | array of object |
videos |
|
title
|
videos.title | string |
title |
|
length
|
videos.length | integer |
length |
|
Clasificación
|
videos.rating | integer |
Clasificación |
|
título corto
|
videos.shortTitle | string |
título corto |
|
miniatura
|
videos.thumbnail | string |
miniatura |
|
views
|
videos.views | integer |
views |
|
youTubeId
|
videos.youTubeId | string |
youTubeId |
|
totalResults
|
totalResults | integer |
totalResults |
Búsqueda de elementos de menú autocompletar
Genere sugerencias para los elementos de menú en función de una consulta (parcial). Las coincidencias se encontrarán buscando solo en el título.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
title
|
results.title | string |
title |
Búsqueda de ingredientes
Busque alimentos enteros simples (por ejemplo, frutas, verduras, frutos secos, granos, carne, pescado, lácteos, etc.).
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
addChildren
|
addChildren | True | string |
addChildren. |
|
Porcentaje mínimo de proteínas
|
minProteinPercent | True | string |
Porcentaje mínimo de proteínas. |
|
Porcentaje máximo de proteínas
|
maxProteinPercent | True | string |
Porcentaje máximo de proteínas. |
|
Porcentaje mínimo de grasa
|
minFatPercent | True | string |
Porcentaje mínimo de grasa. |
|
Porcentaje máximo de grasa
|
maxFatPercent | True | string |
Porcentaje máximo de grasa. |
|
Porcentaje mínimo de carbohidratos
|
minCarbsPercent | True | string |
Porcentaje mínimo de carbos. |
|
Porcentaje máximo de carbohidratos
|
maxCarbsPercent | True | string |
Porcentaje máximo de carbos. |
|
MetaInformation
|
metaInformation | True | string |
MetaInformation. |
|
Intolerancias
|
intolerances | True | string |
Las intolerancias. |
|
Ordenar
|
sort | True | string |
Ordenar. |
|
Dirección de ordenación
|
sortDirection | True | string |
Dirección de ordenación. |
|
offset
|
offset | True | string |
compensar. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
results
|
results | array of object |
results |
|
id
|
results.id | integer |
id |
|
nombre
|
results.name | string |
nombre |
|
image
|
results.image | string |
image |
|
offset
|
offset | integer |
offset |
|
number
|
number | integer |
number |
|
totalResults
|
totalResults | integer |
totalResults |
Búsqueda de ingredientes autocompletar
Autocompletar la entrada de un ingrediente.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Number
|
number | True | string |
Número. |
|
MetaInformation
|
metaInformation | True | string |
MetaInformation. |
|
Intolerancias
|
intolerances | True | string |
Las intolerancias. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
|
array of object | ||
|
nombre
|
name | string |
nombre |
|
image
|
image | string |
image |
|
id
|
id | integer |
id |
|
pasillo
|
aisle | string |
pasillo |
|
possibleUnits
|
possibleUnits | array of string |
possibleUnits |
Cantidad de ingredientes de proceso
Calcule la cantidad que necesita de un determinado ingrediente para un determinado objetivo nutricional. Por ejemplo, ¿cuánto piña tienes que comer para obtener 10 gramos de proteína?
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Nutriente
|
nutrient | True | string |
Nutriente de la receta. |
|
Objetivo
|
target | True | string |
Destino. |
|
Unidad
|
unit | True | string |
Unidad. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
importe
|
amount | float |
importe |
|
unit
|
unit | string |
unit |
Clasificación de imágenes por dirección URL
Clasificar una imagen de comida.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Dirección URL de la imagen
|
imageUrl | True | string |
Dirección URL de la imagen. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
categoría
|
category | string |
categoría |
|
probabilidad
|
probability | float |
probabilidad |
Descripción del vino
Obtenga una descripción sencilla de un determinado vino, por ejemplo, "malbec", "riesling" o "merlot".
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
El vino. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
wineDescription
|
wineDescription | string |
wineDescription |
Detección de alimentos en texto
Tome cualquier texto y encuentre todas las menciones de la comida contenida en él. Esta tarea también se denomina Reconocimiento de entidades con nombre (NER). En este caso, las entidades son alimentos. Ya sea platos, como pizzas o quesos o ingredientes, como el pepino o las almendras.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Tipo de contenido
|
Content-Type | True | string |
Tipo de contenido |
|
key
|
key | string |
key |
|
|
value
|
value | string |
value |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
Anotaciones
|
annotations | array of object |
Anotaciones |
|
anotación
|
annotations.annotation | string |
anotación |
|
image
|
annotations.image | string |
image |
|
tag
|
annotations.tag | string |
tag |
Elemento de menú Nutrición por id. imagen
Visualizar la información nutricional de un elemento de menú como HTML, incluido CSS.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Elementos del menú Buscar
Buscar más de 115 000 elementos de menú desde más de 800 restaurantes de comida rápida y cadena. Por ejemplo, McDonald's Big Mac o Starbucks Mocha.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Calorías mínimas
|
minCalories | True | string |
Las calorías mínimas. |
|
Calorías máximas
|
maxCalories | True | string |
Las calorías máximas. |
|
Min Carbs
|
minCarbs | True | string |
Los carbohidratos mínimos. |
|
Max Carbs
|
maxCarbs | True | string |
Los carbohidratos máximos. |
|
Proteína mínima
|
minProtein | True | string |
La proteína mínima. |
|
Max Protein
|
maxProtein | True | string |
La proteína máxima. |
|
Grasa mínima
|
minFat | True | string |
La grasa mínima. |
|
Max Fat
|
maxFat | True | string |
La grasa máxima. |
|
offset
|
offset | True | string |
compensar. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
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 |
|
tipoDeImagen
|
menuItems.imageType | string |
tipoDeImagen |
|
number
|
menuItems.servings.number | integer |
number |
|
size
|
menuItems.servings.size | integer |
size |
|
unit
|
menuItems.servings.unit | string |
unit |
|
totalMenuItems
|
totalMenuItems | integer |
totalMenuItems |
|
type
|
type | string |
type |
|
offset
|
offset | integer |
offset |
|
number
|
number | integer |
number |
Imagen de etiqueta de nutrición del elemento de menú
Visualizar la información de etiquetas nutricionales de un elemento de menú como una imagen.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Mostrar nutrientes opcionales
|
showOptionalNutrients | True | string |
Mostrar nutrientes opcionales. |
|
Mostrar valores cero
|
showZeroValues | True | string |
Mostrar valores cero. |
|
Mostrar ingredientes
|
showIngredients | True | string |
Mostrar ingredientes. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Imagen de etiqueta de nutrición del producto
Obtener la etiqueta de nutrición de un producto como una imagen.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Mostrar nutrientes opcionales
|
showOptionalNutrients | True | string |
Mostrar nutrientes opcionales. |
|
Mostrar valores cero
|
showZeroValues | True | string |
Mostrar valores cero. |
|
Mostrar ingredientes
|
showIngredients | True | string |
Mostrar ingredientes. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Maridaje de platos para vino
Encuentra un plato que va bien con un vino dado.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
El vino. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
Maridajes
|
pairings | array of string |
Maridajes |
|
texto
|
text | string |
texto |
Maridaje de vinos
Encuentra un vino que va bien con una comida. La comida puede ser un nombre de plato ("filete"), un nombre de ingrediente ("salmón") o una cocina ("italiano").
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Víveres
|
food | True | string |
La comida. |
|
Precio máximo
|
maxPrice | True | string |
Precio máximo. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
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 |
|
descripción
|
productMatches.description | string |
descripción |
|
imageUrl
|
productMatches.imageUrl | string |
imageUrl |
|
link
|
productMatches.link | string |
link |
|
precio
|
productMatches.price | string |
precio |
|
ratingCount
|
productMatches.ratingCount | integer |
ratingCount |
|
puntuación
|
productMatches.score | float |
puntuación |
Obtener información de ingredientes
Usa un identificador de ingrediente para obtener toda la información disponible sobre un ingrediente, como su imagen y pasillo de supermercado.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Importe
|
amount | True | string |
Cantidad. |
|
Unidad
|
unit | True | string |
Unidad. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
id
|
id | integer |
id |
|
Texto original en
|
original | string |
Texto original en |
|
originalName
|
originalName | string |
originalName |
|
nombre
|
name | string |
nombre |
|
nameClean
|
nameClean | string |
nameClean |
|
importe
|
amount | integer |
importe |
|
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 |
|
consistencia
|
consistency | string |
consistencia |
|
shoppingListUnits
|
shoppingListUnits | array of string |
shoppingListUnits |
|
pasillo
|
aisle | string |
pasillo |
|
image
|
image | string |
image |
|
meta
|
meta | array of |
meta |
|
nutrientes
|
nutrition.nutrients | array of object |
nutrientes |
|
nombre
|
nutrition.nutrients.name | string |
nombre |
|
importe
|
nutrition.nutrients.amount | float |
importe |
|
unit
|
nutrition.nutrients.unit | string |
unit |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
Propiedades
|
nutrition.properties | array of object |
Propiedades |
|
nombre
|
nutrition.properties.name | string |
nombre |
|
importe
|
nutrition.properties.amount | float |
importe |
|
unit
|
nutrition.properties.unit | string |
unit |
|
percentProteína
|
nutrition.caloricBreakdown.percentProtein | float |
percentProteína |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | float |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
importe
|
nutrition.weightPerServing.amount | integer |
importe |
|
unit
|
nutrition.weightPerServing.unit | string |
unit |
|
categoryPath
|
categoryPath | array of string |
categoryPath |
Obtener información del elemento de menú
Use un identificador de elemento de menú para obtener toda la información disponible sobre un elemento de menú, como nutrición.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
restaurantChain
|
restaurantChain | string |
restaurantChain |
|
nutrientes
|
nutrition.nutrients | array of object |
nutrientes |
|
nombre
|
nutrition.nutrients.name | string |
nombre |
|
importe
|
nutrition.nutrients.amount | integer |
importe |
|
unit
|
nutrition.nutrients.unit | string |
unit |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | integer |
percentOfDailyNeeds |
|
percentProteína
|
nutrition.caloricBreakdown.percentProtein | integer |
percentProteína |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | integer |
percentCarbs |
|
Insignias
|
badges | array of |
Insignias |
|
rutas de navegación
|
breadcrumbs | array of string |
rutas de navegación |
|
generatedText
|
generatedText | string |
generatedText |
|
tipoDeImagen
|
imageType | string |
tipoDeImagen |
|
Le gusta
|
likes | integer |
Le gusta |
|
number
|
servings.number | integer |
number |
|
size
|
servings.size | integer |
size |
|
unit
|
servings.unit | string |
unit |
|
precio
|
price | float |
precio |
|
spoonacularScore
|
spoonacularScore | float |
spoonacularScore |
Obtener información del producto
Use un id. de producto para obtener información completa sobre un producto, como ingredientes, nutrición, etc. La información nutricional es por servicio.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
id
|
id | integer |
id |
|
title
|
title | string |
title |
|
rutas de navegación
|
breadcrumbs | array of string |
rutas de navegación |
|
tipoDeImagen
|
imageType | string |
tipoDeImagen |
|
Insignias
|
badges | array of string |
Insignias |
|
importantBadges
|
importantBadges | array of string |
importantBadges |
|
ingredientCount
|
ingredientCount | integer |
ingredientCount |
|
generatedText
|
generatedText | string |
generatedText |
|
ingredientList
|
ingredientList | string |
ingredientList |
|
ingredientes
|
ingredients | array of object |
ingredientes |
|
descripción
|
ingredients.description | string |
descripción |
|
nombre
|
ingredients.name | string |
nombre |
|
safety_level
|
ingredients.safety_level | string |
safety_level |
|
Le gusta
|
likes | integer |
Le gusta |
|
pasillo
|
aisle | string |
pasillo |
|
nutrientes
|
nutrition.nutrients | array of object |
nutrientes |
|
nombre
|
nutrition.nutrients.name | string |
nombre |
|
importe
|
nutrition.nutrients.amount | integer |
importe |
|
unit
|
nutrition.nutrients.unit | string |
unit |
|
percentOfDailyNeeds
|
nutrition.nutrients.percentOfDailyNeeds | float |
percentOfDailyNeeds |
|
percentProteína
|
nutrition.caloricBreakdown.percentProtein | float |
percentProteína |
|
percentFat
|
nutrition.caloricBreakdown.percentFat | integer |
percentFat |
|
percentCarbs
|
nutrition.caloricBreakdown.percentCarbs | float |
percentCarbs |
|
precio
|
price | integer |
precio |
|
number
|
servings.number | integer |
number |
|
size
|
servings.size | integer |
size |
|
unit
|
servings.unit | string |
unit |
|
spoonacularScore
|
spoonacularScore | integer |
spoonacularScore |
Obtener productos comparables
Encuentra productos comparables a los dados.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Upc
|
upc | True | string |
El carné. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
calorías
|
comparableProducts.calories | array of |
calorías |
|
Le gusta
|
comparableProducts.likes | array of |
Le gusta |
|
precio
|
comparableProducts.price | array of |
precio |
|
proteína
|
comparableProducts.protein | array of object |
proteína |
|
diferencia
|
comparableProducts.protein.difference | integer |
diferencia |
|
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 |
|
diferencia
|
comparableProducts.spoonacularScore.difference | integer |
diferencia |
|
id
|
comparableProducts.spoonacularScore.id | integer |
id |
|
image
|
comparableProducts.spoonacularScore.image | string |
image |
|
title
|
comparableProducts.spoonacularScore.title | string |
title |
|
azúcar
|
comparableProducts.sugar | array of |
azúcar |
Obtener sustitutos de ingredientes
Busque sustitutos de un ingrediente determinado.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Nombre de ingrediente
|
ingredientName | True | string |
Nombre del ingrediente. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
ingrediente
|
ingredient | string |
ingrediente |
|
Sustitutos
|
substitutes | array of string |
Sustitutos |
|
Mensaje
|
message | string |
Mensaje |
Obtener sustitutos de ingredientes por identificador
Busque sustitutos de un ingrediente determinado.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
ingrediente
|
ingredient | string |
ingrediente |
|
Sustitutos
|
substitutes | array of string |
Sustitutos |
|
Mensaje
|
message | string |
Mensaje |
Product Nutrition by ID Image
Visualizar la información nutricional de un producto como una imagen.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Product Nutrition by ID Widget
Visualizar la información nutricional de un producto como HTML, incluido CSS.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
DefaultCss
|
defaultCss | True | string |
DefaultCss. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Recomendación del vino
Obtener una recomendación de vino específica (producto concreto) para un tipo de vino determinado, por ejemplo, "merlot".
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Vino
|
wine | True | string |
El vino. |
|
Precio máximo
|
maxPrice | True | string |
Precio máximo. |
|
Clasificación mínima
|
minRating | True | string |
La clasificación mínima. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
recommendedWines
|
recommendedWines | array of object |
recommendedWines |
|
id
|
recommendedWines.id | integer |
id |
|
title
|
recommendedWines.title | string |
title |
|
averageRating
|
recommendedWines.averageRating | float |
averageRating |
|
descripción
|
recommendedWines.description | string |
descripción |
|
imageUrl
|
recommendedWines.imageUrl | string |
imageUrl |
|
link
|
recommendedWines.link | string |
link |
|
precio
|
recommendedWines.price | string |
precio |
|
ratingCount
|
recommendedWines.ratingCount | integer |
ratingCount |
|
puntuación
|
recommendedWines.score | float |
puntuación |
|
totalFound
|
totalFound | integer |
totalFound |
Sugerir conversaciones
Este punto de conexión devuelve sugerencias para las cosas que el usuario puede decir o preguntar al bot de chat.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
Query
|
query | True | string |
Consulta. |
|
Number
|
number | True | string |
Número. |
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
_
|
suggests._ | array of object |
_ |
|
nombre
|
suggests._.name | string |
nombre |
|
words
|
words | array of |
words |
Trivia de alimentos aleatorios
Devuelve una trivia de comida aleatoria.
Devoluciones
| Nombre | Ruta de acceso | Tipo | Description |
|---|---|---|---|
|
texto
|
text | string |
texto |
Widget de etiqueta de nutrición de elemento de menú
Visualizar la información de etiquetas nutricionales de un elemento de menú como HTML, incluido CSS.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
DefaultCss
|
defaultCss | True | string |
DefaultCss. |
|
Mostrar nutrientes opcionales
|
showOptionalNutrients | True | string |
Mostrar nutrientes opcionales. |
|
Mostrar valores cero
|
showZeroValues | True | string |
Mostrar valores cero. |
|
Mostrar ingredientes
|
showIngredients | True | string |
Mostrar ingredientes. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Widget de etiqueta de nutrición del producto
Obtenga la etiqueta de nutrición de un producto como un widget HTML.
Parámetros
| Nombre | Clave | Requerido | Tipo | Description |
|---|---|---|---|---|
|
DefaultCss
|
defaultCss | True | string |
DefaultCss. |
|
Mostrar nutrientes opcionales
|
showOptionalNutrients | True | string |
Mostrar nutrientes opcionales. |
|
Mostrar valores cero
|
showZeroValues | True | string |
Mostrar valores cero. |
|
Mostrar ingredientes
|
showIngredients | True | string |
Mostrar ingredientes. |
|
identificación
|
id | True | string |
Identificador. |
Devoluciones
- response
- string
Definiciones
cuerda / cadena
Este es el tipo de datos básico "string".