import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
arlo: {
type: "app",
app: "arlo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.arlo.$auth.subdomain}.arlo.co/api/2012-02-01/auth/resources/events`,
auth: {
username: `${this.arlo.$auth.email}`,
password: `${this.arlo.$auth.password}`,
},
})
},
})
Arlo uses API keys for authentication. When you connect your Arlo account, Pipedream securely stores the keys so you can easily authenticate to Arlo APIs in both code and no-code steps.