Build Better Video: Stream beautiful video to any device and monitor your video performance with our APIs.
With Mux, you can build a variety of video-related applications and services,
including:
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}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})