import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
crowdpower: {
type: "app",
app: "crowdpower",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.crowdpower.$auth.api_name}.crowdpower.io/v1/projects/63d2e2aab9f2884e7e06f3f9`,
headers: {
"Authorization": `Bearer ${this.crowdpower.$auth.application_key}`,
},
})
},
})
CrowdPower uses API keys for authentication. When you connect your CrowdPower account, Pipedream securely stores the keys so you can easily authenticate to CrowdPower APIs in both code and no-code steps.
To retrieve your API keys,