Designed by athletes, for athletes, Strava's mobile app and website connect millions of runners and cyclists through the sports they love.
The Strava API lets you tap into the robust data from Strava's fitness app, which is a playground for athletes worldwide to track their workouts. With Pipedream, you can automate actions based on activities uploaded to Strava, such as running, biking, or swimming. Imagine syncing workout data to spreadsheets for analysis, auto-posting achievements to social media, or integrating with calendar apps for better scheduling. Pipedream's serverless platform makes it a breeze to create workflows that can listen for Strava webhooks, process data, and trigger actions in countless other apps.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
strava: {
type: "app",
app: "strava",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.strava.com/api/v3/athlete`,
headers: {
Authorization: `Bearer ${this.strava.$auth.oauth_access_token}`,
},
})
},
})
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}`,
},
})
},
})