with TalentLMS and Uspacy?
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: {
uspacy: {
type: "app",
app: "uspacy",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.uspacy.$auth.domain}/company/v1/users/me`,
headers: {
Authorization: `Bearer ${this.uspacy.$auth.oauth_access_token}`,
},
})
},
})