Node package manager
Emit new event with the latest count of downloads for an npm package. See the documentation.
Emit new event when a new version of an npm package is published. See the documentation
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.
Enrolls users to the specified courses on iSpring Learn.
Fetches the list of user enrollments on iSpring Learn. See the documentation
Allows to modify the properties of a specific user on iSpring Learn.
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`,
},
})
},
})