action spoonacular_get_meal_plan_week { label: "Get Meal Plan Week" description: "Retrieve a meal planned week for the given user. The username must be a spoonacular user and the hash must the the user's hash that can be found in his/her account." provider: spoonacular method: GET path: "/mealplanner/{username}/week/{start-date}" encoding: json input: { type: "object" properties: { "start-date": { type: "string" } username: { type: "string" } } required: ["start-date", "username"] additionalProperties: false } output: { type: "object" required: ["days"] properties: { days: { type: "array" items: { type: "object" required: ["date", "day"] properties: { date: { type: "number" } day: { type: "string" } items: { type: "array" items: { type: "object" required: ["id", "slot", "position", "type"] properties: { id: { type: "integer" } position: { type: "integer" } slot: { type: "integer" } type: { type: "string" } value: { type: "object" required: ["servings", "id", "title", "imageType"] properties: { id: { type: "number" } imageType: { type: "string" } servings: { type: "number" } title: { type: "string" } } } } } } nutritionSummary: { type: "object" required: ["nutrients"] properties: { nutrients: { type: "array" items: { type: "object" required: ["name", "amount", "unit", "percentDailyNeeds"] properties: { amount: { type: "number" } name: { type: "string" } percentDailyNeeds: { type: "number" } unit: { type: "string" } } } } } } nutritionSummaryBreakfast: { type: "object" required: ["nutrients"] properties: { nutrients: { type: "array" items: { type: "object" required: ["name", "amount", "unit", "percentDailyNeeds"] properties: { amount: { type: "number" } name: { type: "string" } percentDailyNeeds: { type: "number" } unit: { type: "string" } } } } } } nutritionSummaryDinner: { type: "object" required: ["nutrients"] properties: { nutrients: { type: "array" items: { type: "object" required: ["name", "amount", "unit", "percentDailyNeeds"] properties: { amount: { type: "number" } name: { type: "string" } percentDailyNeeds: { type: "number" } unit: { type: "string" } } } } } } nutritionSummaryLunch: { type: "object" required: ["nutrients"] properties: { nutrients: { type: "array" items: { type: "object" required: ["name", "amount", "unit", "percentDailyNeeds"] properties: { amount: { type: "number" } name: { type: "string" } percentDailyNeeds: { type: "number" } unit: { type: "string" } } } } } } } } } } } }