Use this app to create a Discord source that emits messages from your guild to a Pipedream workflow.
Retrieves details for a transcript given an identifier. See the documentation
Submits a request to transcribe from a URL. See the documentation
Send a simple or structured message (using embeds) to a Discord channel
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`,
},
})
},
})
The Castmagic API allows you to control and automate the casting of media to various devices, such as Chromecast and smart TVs. It's designed for developers who want to build custom casting solutions without the hassle of dealing with low-level protocol details. Through Pipedream, you can integrate Castmagic with a myriad of services and triggers, creating workflows that respond to events like new content releases, user interactions, or scheduled routines. You can leverage Pipedream's serverless platform to create, run, and maintain these automations with ease.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
castmagic: {
type: "app",
app: "castmagic",
}
},
async run({steps, $}) {
const data = {
"url": `https://www.youtube.com/watch?v=YuV5ATYcY_I`,
}
return await axios($, {
method: "post",
url: `https://app.castmagic.io/v1/transcripts`,
headers: {
Authorization: `Bearer ${this.castmagic.$auth.secret_key}`,
},
data,
})
},
})