with EdApp and Discord?
EdApp is a mobile-first microlearning platform with an API that enables programmatic interactions with its learning management system. With the EdApp API, you can automate course assignments, track learning progress, manage users, and pull detailed reports. This can significantly enhance learning experiences and administrative efficiency, particularly when integrated with Pipedream's serverless platform. Pipedream allows for the creation of custom workflows that leverage the EdApp API to interact with other services, inducing data-driven actions without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
edapp: {
type: "app",
app: "edapp",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.edapp.com/v2/users`,
headers: {
Authorization: `Bearer ${this.edapp.$auth.api_token}`,
},
})
},
})
The Discord API interacts seamlessly with Pipedream, empowering you to craft customized automations and workflows for your Discord server. With this powerful integration, you can automate tasks like message posting, user management, and notifications, based on a myriad of triggers and actions from different apps. These automations can enhance the Discord experience for community moderators and members, by synchronizing with external tools, organizing community engagement, and streamlining notifications.
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`,
},
})
},
})