with WebinarJam 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.
The WebinarJam API enables the automation of webinar management tasks, allowing users to seamlessly integrate their webinar data with other systems and services. With this API, you can programmatically create and update webinars, register participants, send custom notifications, and more. Leveraging Pipedream's serverless integration platform, you can create workflows that react to WebinarJam events, process data in real-time, and interact with countless other apps to optimize your webinar operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
webinarjam: {
type: "app",
app: "webinarjam",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.webinarjam.$auth.api_key}`,
}
return await axios($, {
method: "post",
url: `https://api.webinarjam.com/webinarjam/webinars`,
data,
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})