with TalentLMS and Rinkel?
TalentLMS's API enables you to automate and integrate your learning management tasks with ease. From syncing user data to generating detailed reports, the API opens up a world of possibilities for e-learning automation. With Pipedream, you can connect TalentLMS to a plethora of other apps, crafting personalized, intelligent workflows that operate seamlessly in the background, thus enhancing the learning experience for both instructors and trainees without manual intervention.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
talentlms: {
type: "app",
app: "talentlms",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.talentlms.$auth.domain}.talentlms.com/api/v1/users`,
auth: {
username: `${this.talentlms.$auth.api_key}`,
password: ``,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rinkel: {
type: "app",
app: "rinkel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rinkel.com/v1/users`,
headers: {
"accept": `application/json`,
"x-rinkel-api-key": `${this.rinkel.$auth.api_key}`,
},
})
},
})