with HeySummit 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 HeySummit API lets you automate and integrate your event management tasks with ease. With this API, you can access attendee data, control event schedules, retrieve talk details, and more. By using Pipedream's serverless platform, you can construct workflows that trigger actions in other apps or services whenever specific events occur in HeySummit. This opens up a myriad of possibilities for event organizers to streamline processes, improve attendee engagement, and gain valuable insights from their events.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
heysummit: {
type: "app",
app: "heysummit",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.heysummit.com/api/events/`,
headers: {
"Authorization": `Token ${this.heysummit.$auth.api_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})