Instantly transform your site into a powerful learning management system with the LearnDash LMS plugin.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
learndash: {
type: "app",
app: "learndash",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.learndash.$auth.url}/wp-json/ldlms/v1/sfwd-courses`,
auth: {
username: `${this.learndash.$auth.username}`,
password: `${this.learndash.$auth.application_password}`,
},
})
},
})
LearnDash uses API keys for authentication. When you connect your LearnDash account, Pipedream securely stores the keys so you can easily authenticate to LearnDash APIs in both code and no-code steps.
LearnDash uses the WordPress REST API. Follow these instructions to connect your self hosted Wordpress instance; their authentication credentials will be used to access LearnDash API.
This integration requires the Application Passwords plugin to be installed in your Wordpress instance, which allows you to authenticate without having to provide passwords user passwords directly.
The url
field below is your WordPress site's domain. For example, if you have a Wordpress.org site hosted at https://example.com
, then enter example.com
in the url field below.