import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
supersaas: {
type: "app",
app: "supersaas",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.supersaas.com/api/schedules.json`,
params: {
account: `${this.supersaas.$auth.account}`,
api_key: `${this.supersaas.$auth.api_key}`,
},
})
},
})
SuperSaaS uses API keys for authentication. When you connect your SuperSaaS account, Pipedream securely stores the keys so you can easily authenticate to SuperSaaS APIs in both code and no-code steps.
You can find your account name and API key in the Account Info section of your settings. See the Authentication docs for more info.