with ProProfs Knowledge Base and Axis LMS?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
proprofs_knowledge_base: {
type: "app",
app: "proprofs_knowledge_base",
}
},
async run({steps, $}) {
const data = {
"action": `gettoc`,
"api_key": `${this.proprofs_knowledge_base.$auth.api_key}`,
"node_id": `0`,
"type": `all`,
}
return await axios($, {
method: "post",
url: `https://www.helpdocsonline.com/proprofsapi/v1/`,
data,
})
},
})
The Axis LMS API provides a wide array of functionalities for integrating your Learning Management System with various services and automating tasks. In Pipedream, you can leverage this API to create workflows that handle data synchronization, user management, course enrollment, and reporting, among others. The API's flexibility allows you to trigger actions based on events, schedule tasks, and interact with other apps to expand your LMS capabilities.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
axis_lms: {
type: "app",
app: "axis_lms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.axis_lms.$auth.url}/api.php/certifications/list/all/`,
headers: {
Authorization: `Bearer ${this.axis_lms.$auth.oauth_access_token}`,
},
})
},
})