with Osu! and Microsoft OneDrive?
Create a sharing link for a DriveItem. See the documentation
Download a file stored in OneDrive. See the documentation
Search for a file or folder by name. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
osu: {
type: "app",
app: "osu",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://osu.ppy.sh/api/v2/me`,
headers: {
Authorization: `Bearer ${this.osu.$auth.oauth_access_token}`,
"accept": `application/json`,
"content-type": `application/json`,
},
})
},
})
The Microsoft OneDrive API taps into the robust file storage and management capabilities of OneDrive, allowing for operations like file uploads, retrievals, sharing, and synchronization. Integrating this API into Pipedream workflows lets you automate tasks involving file management, content collaboration, and data backup processes. With OneDrive's API on Pipedream, you can streamline document workflows, trigger actions based on file changes, and connect your file storage to countless other services for enhanced productivity.
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}`,
},
})
},
})