Reliable LMS to onboard, upskill, and certify your teams.
Emit new event when courses or materials in a course are completed successfully.
Emit new event when learners are enrolled in courses.
Emit new event when a new user is registered.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ispring_learn: {
type: "app",
app: "ispring_learn",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-learn.ispringlearn.com/content`,
headers: {
Authorization: `Bearer ${this.ispring_learn.$auth.oauth_access_token}`,
"X-Target-Locale": `en-US`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})