with Strava and OneSignal (REST API)?
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}`, }, }) }, }) OneSignal's REST API enables developers to automate the delivery of push notifications, manage users and segments, and gather analytics to refine communication strategies. By integrating OneSignal with Pipedream, you can orchestrate complex workflows that react to events or schedules, synchronize user data across platforms, and personalize user engagement with cross-channel marketing tools.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { onesignal_rest_api: { type: "app", app: "onesignal_rest_api", } }, async run({steps, $}) { return await axios($, { url: `https://onesignal.com/api/v1/players`, headers: { "Authorization": `Basic ${this.onesignal_rest_api.$auth.rest_api_key}`, }, params: { app_id: `${this.onesignal_rest_api.$auth.app_id}`, }, }) }, })