with Donorbox and Syntage?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
donorbox: {
type: "app",
app: "donorbox",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://donorbox.org/api/v1/campaigns`,
auth: {
username: `${this.donorbox.$auth.email}`,
password: `${this.donorbox.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
satws: {
type: "app",
app: "satws",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.syntage.com/credentials`,
headers: {
"x-api-key": `${this.satws.$auth.api_key}`,
"accept": `application/ld+json`,
},
})
},
})