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