Use this app to interact with the Discord API using a bot in your account
Emit new event for each message posted to one or more channels
Emit new event when an account balance drops below a certain amount
Emit new event when a category balance drops below a certain amount
Emit new event for every new or updated transaction. See the docs
Assign a role to a user. Remember that your bot requires the MANAGE_ROLES
permission. See the docs here
Create a new invite for the channel. See the docs here
The Pipedream Discord app enables you to build event-driven workflows that interact with the Discord API. When you authorize the Pipedream app's access to your guilds, you can use Pipedream workflows to perform common Discord actions, or write your own code against the Discord API.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
discord_bot: {
type: "app",
app: "discord_bot",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://discord.com/api/users/@me`,
headers: {
"Authorization": `Bot ${this.discord_bot.$auth.bot_token}`,
},
})
},
})
The You Need a Budget (YNAB) API provides APIs to interact with YNAB users’
budgets, transactions, and more. With the YNAB API, developers have the ability
to build applications that are tailored to an individual's budget and financial
lifestyle.
Whether you're looking to create an app to assist with budgeting and tracking
expenses, generating reports, or getting a real-time view of an individual's
budget and movements, the YNAB API provides the tools to do it. The YNAB API is
easy to use, secure, and versatile.
Here are some examples of how you can use the YNAB API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
you_need_a_budget: {
type: "app",
app: "you_need_a_budget",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.youneedabudget.com/v1/user`,
headers: {
Authorization: `Bearer ${this.you_need_a_budget.$auth.oauth_access_token}`,
},
})
},
})