Packed with powerful tools, customizable content and best-in-class service and support, Brightspace leaves the limitations of a traditional LMS in the dust.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
d2l_brightspace: {
type: "app",
app: "d2l_brightspace",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.d2l_brightspace.$auth.target_host}/d2l/api/lp/1.0/users/whoami`,
headers: {
Authorization: `Bearer ${this.d2l_brightspace.$auth.oauth_access_token}`,
},
})
},
})
The Schedule app in Pipedream is a powerful tool that allows you to trigger workflows at regular intervals, ranging from every minute to once a year. This enables the automation of repetitive tasks and the scheduling of actions to occur without manual intervention. By leveraging this API, you can execute code, run integrations, and process data on a reliable schedule, all within Pipedream's serverless environment.