with Shotstack and OneSignal (REST API)?
Trigger when a new media asset has been uploaded to the Shotstack API. See the documentation here
Generate a timeline with layers and assets for a new video project. See the documentation here
Initiate rendering of a video using a timeline created in Shotstack API. See the documentation here
The Shotstack API is a video editing platform that allows you to automate the creation and production of videos. With it, you can edit clips, add transitions, overlays, and backgrounds, and even include music in your videos. Integrating Shotstack with Pipedream can supercharge your workflow by automating the video creation process. You can trigger video edits in response to various events, manage assets, or even kick off rendering jobs based on data from other apps and services.
import { axios } from "@pipedream/platform" export default defineComponent({ props: { shotstack: { type: "app", app: "shotstack", } }, async run({steps, $}) { return await axios($, { url: `https://api.shotstack.io/ingest/${this.shotstack.$auth.version}/sources`, headers: { "x-api-key": `${this.shotstack.$auth.api_key}`, }, }) }, }) 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}`, }, }) }, })