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