Microsoft OneDrive lets you store your personal files in one place, share them with others, and get to them from any device.
Emit new event for each message posted to one or more channels in a Discord server
Emit new event for each command posted to one or more channels in a Discord server
Emit new event when a new file is added to a specific drive in OneDrive
Create a sharing link for a DriveItem. See the documentation
Download a file stored in OneDrive. See the documentation
Retrieve a table from an Excel spreadsheet stored in OneDrive See the documentation
Microsoft OneDrive API allows developers to access the OneDrive service, which
enables users to store and share their personal data, such as files, photos,
and OneNote notebooks, across all their devices.
With the Microsoft OneDrive API, developers can build a variety of applications
and services that take advantage of the following features:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
microsoft_onedrive: {
type: "app",
app: "microsoft_onedrive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://graph.microsoft.com/v1.0/me`,
headers: {
Authorization: `Bearer ${this.microsoft_onedrive.$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`,
},
})
},
})