with Strava and DeepImage?
Removes the background from the provided image using DeepImage. See the documentation
Upscales the provided image using Deep Image. See the documentation
Returns the given activity that is owned by the authenticated athlete. 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}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
deepimage: {
type: "app",
app: "deepimage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://deep-image.ai/rest_api/me`,
headers: {
"content-type": `application/json`,
"x-api-key": `${this.deepimage.$auth.api_key}`,
},
})
},
})