Designed by athletes, for athletes, Strava's mobile app and website connect millions of runners and cyclists through the sports they love.
Returns the given activity that is owned by the authenticated athlete. See the docs
Returns the activities of an athlete for a specific identifier. See the docs
Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty. See the docs
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 Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})