import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
neetocal: {
type: "app",
app: "neetocal",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.neetocal.$auth.subdomain}.neetocal.com/api/external/v1/bookings`,
headers: {
"x-api-key": `${this.neetocal.$auth.api_key}`,
},
})
},
})
neetoCal uses API keys for authentication. When you connect your neetoCal account, Pipedream securely stores the keys so you can easily authenticate to neetoCal APIs in both code and no-code steps.