import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
transcript_downloader: {
type: "app",
app: "transcript_downloader",
}
},
async run({steps, $}) {
const data = {
"url": `{youtube_channel_profile_url}`,
}
return await axios($, {
method: "post",
url: `https://dashboard.transcriptdownloader.com/api/channel/profile`,
headers: {
Authorization: `Bearer ${this.transcript_downloader.$auth.api_token}`,
},
data,
})
},
})
Transcript Downloader uses API keys for authentication. When you connect your Transcript Downloader account, Pipedream securely stores the keys so you can easily authenticate to Transcript Downloader APIs in both code and no-code steps.