with ntfy and Donately?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ntfy: {
type: "app",
app: "ntfy",
}
},
async run({steps, $}) {
const data = `Backup successful 😀`
return await axios($, {
method: "post",
url: `${this.ntfy.$auth.server}/test`,
headers: {
"Content-Type": "text/plain"
},
data,
})
},
})
The Donately API provides a suite of endpoints for managing fundraising activities, processing donations, and analyzing donor data. With Pipedream, you can automate donation tracking, engage donors with personalized communications, and sync fundraising data across various platforms. It's a powerful tool for nonprofits and charitable organizations looking to streamline their fundraising operations and gain deeper insights into their donor base.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
donately: {
type: "app",
app: "donately",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.donately.com/v2/people/me`,
headers: {
Authorization: `Bearer ${this.donately.$auth.api_token}`,
},
})
},
})