with Donorbox and verifi.email?
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: {
verifi_email: {
type: "app",
app: "verifi_email",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.verifi.email/check`,
params: {
token: `${this.verifi_email.$auth.api_key}`,
},
})
},
})