Build Better Video: Stream beautiful video to any device and monitor your video performance with our APIs.
Adds an asset track (for example, subtitles) to an asset. See the documentation
Returns an Asset or Livestream ID from a Playback ID. See the documentation
Mux is a powerful API that simplifies the process of working with video and audio data. By leveraging Mux on Pipedream, you unlock the potential to automate video and audio streaming workflows, analyze media performance, and integrate seamlessly with other services to enrich your media content strategy. With Mux's ability to manage video assets, including uploading, encoding, and delivering content across devices, combined with Pipedream's serverless execution model, you can create dynamic, scalable, and highly customized media operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mux: {
type: "app",
app: "mux",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mux.com/video/v1/assets`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.mux.$auth.access_key}`,
password: `${this.mux.$auth.secret_key}`,
},
})
},
})
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`,
},
})
},
})