import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
buzzsprout: {
type: "app",
app: "buzzsprout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.buzzsprout.com/api/podcasts.json`,
headers: {
"authorization": `Token token=${this.buzzsprout.$auth.api_token}`,
},
})
},
})
Buzzsprout uses API keys for authentication. When you connect your Buzzsprout account, Pipedream securely stores the keys so you can easily authenticate to Buzzsprout APIs in both code and no-code steps.