Bitrix24 is a collaboration software with complete tools for management, collaboration, and communication. Bitrix24 gives you a unified platform for your files, projects, messages, tasks, and contacts.
With the bitrix24 API, you can:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
bitrix24: {
type: "app",
app: "bitrix24",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.bitrix24.$auth.domain}/rest/user.current`,
params: {
auth: `${this.bitrix24.$auth.oauth_access_token}`,
},
})
},
})
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: {
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`,
},
})
},
})