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