with Pinghome and Slottable?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pinghome: {
type: "app",
app: "pinghome",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://statuspage-query.api.pinghome.io/v1/statuspages`,
headers: {
Authorization: `Bearer ${this.pinghome.$auth.oauth_access_token}`,
},
})
},
})
The Slottable API provides a way to manage scheduling by creating, updating, and deleting slots related to appointments, classes, or any event that requires booking. With Pipedream's serverless platform, you can automate workflows that trigger based on actions within Slottable or external events, and then interact with the Slottable API to manage your scheduling data. This might include syncing booking information with a calendar, sending reminders or follow-up emails, or aggregating data for analytics.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
slottable: {
type: "app",
app: "slottable",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://slottable.app/api/v1/token`,
headers: {
Authorization: `Bearer ${this.slottable.$auth.api_token}`,
"Accept": `application/json`,
"Content-Type": `application/json`,
},
})
},
})