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