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