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