with Donately and Discord?
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}`,
},
})
},
})
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord: {
type: "app",
app: "discord",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
Authorization: `Bearer ${this.discord.$auth.oauth_access_token}`,
"accept": `application/json`,
},
})
},
})