with iSpring Learn and Pipedream?
Exposes an HTTP API for scheduling messages to be emitted at a future time
Emit new event at a specified time before a card is due.
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
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`,
      },
    })
  },
})
Pipedream is an API that allows you to build applications that can connect to
various data sources and processes them in real-time. You can use Pipedream to
create applications that can perform ETL (Extract, Transform, and Load) tasks,
as well as to create data-driven workflows.
Some examples of applications you can build using the Pipedream API include:
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    pipedream: {
      type: "app",
      app: "pipedream",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.pipedream.com/v1/users/me`,
      headers: {
        Authorization: `Bearer ${this.pipedream.$auth.api_key}`,
      },
    })
  },
})