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