Sdílet prostřednictvím


Spoonacular Meal Planner (Independent Publisher) (Preview)

The spoonacular Nutrition, Recipe, and Food allows you to access over 380,000 recipes, thousands of ingredients, food products, and menu items. Spoonacular Meal Planner makes it possible to Plan your healthy meals.

This connector is available in the following products and regions:

Service Class Regions
Logic Apps Standard All Logic Apps regions except the following:
     -   Azure Government regions
     -   Azure China regions
     -   US Department of Defense (DoD)
Power Automate Premium All Power Automate regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Power Apps Premium All Power Apps regions except the following:
     -   US Government (GCC)
     -   US Government (GCC High)
     -   China Cloud operated by 21Vianet
     -   US Department of Defense (DoD)
Contact
Name Amjed Ayoub
URL https://amjedayoub.github.io/portfolio
Email amjedkayoub@gmail.com
Connector Metadata
Publisher Amjed Ayoub
Website https://spoonacular.com
Privacy policy https://spoonacular.com/terms
Categories Website;Lifestyle and Entertainment

Creating a connection

The connector supports the following authentication types:

Default Parameters for creating connection. All regions Not shareable

Default

Applicable: All regions

Parameters for creating connection.

This is not shareable connection. If the power app is shared with another user, another user will be prompted to create new connection explicitly.

Name Type Description Required
API Key securestring The API Key for this api

Throttling Limits

Name Calls Renewal Period
API calls per connection 100 60 seconds

Actions

Connect User

In order to call user-specific endpoints, you need to connect your app's users to spoonacular users.

Generate Meal Plan

Generate a meal plan with three meals per day (breakfast, lunch, and dinner).

Connect User

In order to call user-specific endpoints, you need to connect your app's users to spoonacular users.

Parameters

Name Key Required Type Description
Content Type
Content-Type True string

Content-Type

username
username string

username

firstName
firstName string

firstName

lastName
lastName string

lastName

email
email string

email

Returns

Name Path Type Description
username
username string

username

hash
hash string

hash

Generate Meal Plan

Generate a meal plan with three meals per day (breakfast, lunch, and dinner).

Parameters

Name Key Required Type Description
Time Frame
timeFrame True string

Time Frame for the meal.

Target Calories
targetCalories True string

Target Calories for the meal.

Diet
diet True string

The diet for the meal.

Exclude
exclude True string

Exclude from the meal.

Returns

Name Path Type Description
meals
meals array of object

meals

id
meals.id integer

id

title
meals.title string

title

imageType
meals.imageType string

imageType

readyInMinutes
meals.readyInMinutes integer

readyInMinutes

servings
meals.servings integer

servings

sourceUrl
meals.sourceUrl string

sourceUrl

calories
nutrients.calories float

calories

carbohydrates
nutrients.carbohydrates float

carbohydrates

fat
nutrients.fat float

fat

protein
nutrients.protein float

protein