with Eventzilla 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 Eventzilla API allows you to seamlessly integrate your event management into a variety of workflows and systems. With the API, you can automate the retrieval of event details, participant data, and handle registrations programmatically. It’s ideal for syncing event information across platforms, streamlining communication with attendees, and enhancing marketing efforts through targeted campaigns and analytics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
eventzilla: {
type: "app",
app: "eventzilla",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.eventzillaapi.net/api/v2/users`,
headers: {
"x-api-key": `${this.eventzilla.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})