with Booking Experts and Formatting?
Emit new event for each booking updated. See the documentation
Emit new event when an inventory object is updated. See the documentation
Emit new event for each new booking created. See the documentation
Emit new event when a new inventory object is created. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
booking_experts: {
type: "app",
app: "booking_experts",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bookingexperts.com/v3/users`,
headers: {
"x-api-key": `${this.booking_experts.$auth.api_key}`,
"accept": `application/vnd.api+json`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})