with TalentLMS and Formatting?
Get the duration between two dates in days, hours, minutes, and seconds along with checking if they are the same.
Format a date string to another date string. For more examples on formatting, see the Sugar Date Format documentation.
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: ``,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})