Free meal planner with nutritional info. Save recipes from any site. All Your Food. One Place
The Spoonacular API is a robust culinary interface that can enhance apps with food and nutrition data. With rich endpoints for recipes, ingredients, and meal planning, developers can automate content creation, manage diet tracking, or enrich e-commerce platforms. Pipedream's serverless platform empowers you to create custom Spoonacular workflows, linking with other APIs and services to streamline tasks, like auto-generating shopping lists or scheduling weekly meal plans based on dietary preferences.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
spoonacular: {
type: "app",
app: "spoonacular",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.spoonacular.com/recipes/complexSearch`,
headers: {
"Content-Type": `application/json`,
"x-api-key": `${this.spoonacular.$auth.api_key}`,
},
params: {
query: `{your_query}`,
},
})
},
})
The Twilio SendGrid API opens up a world of possibilities for email automation, enabling you to send emails efficiently and track their performance. With this API, you can programmatically create and send personalized email campaigns, manage contacts, and parse inbound emails for data extraction. When you harness the power of Pipedream, you can connect SendGrid to hundreds of other apps to automate workflows, such as triggering email notifications based on specific actions, syncing email stats with your analytics, or handling incoming emails to create tasks or tickets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
sendgrid: {
type: "app",
app: "sendgrid",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.sendgrid.com/v3/user/account`,
headers: {
Authorization: `Bearer ${this.sendgrid.$auth.api_key}`,
},
})
},
})