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