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