The Best Appointment Scheduling Software For Your Business.
Emit new event when a booking is created in Appointo. See the documentation
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.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
appointo: {
type: "app",
app: "appointo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.appointo.me/api/products`,
headers: {
"APPOINTO-TOKEN": `${this.appointo.$auth.api_key}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})