import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
nextdoor: {
type: "app",
app: "nextdoor",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://ads.nextdoor.com/v2/api/me`,
headers: {
Authorization: `Bearer ${this.nextdoor.$auth.authorization_token}`,
},
})
},
})
Nextdoor Ads uses API keys for authentication. When you connect your Nextdoor Ads account, Pipedream securely stores the keys so you can easily authenticate to Nextdoor Ads APIs in both code and no-code steps.