import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runsignup: {
type: "app",
app: "runsignup",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://runsignup.com/Rest/v2/auth-info/entity-info.json`,
headers: {
"x-rsu-api-secret": `${this.runsignup.$auth.api_secret}`,
},
params: {
rsu_api_key: `${this.runsignup.$auth.api_key}`,
},
})
},
})
RunSignup uses API keys for authentication. When you connect your RunSignup account, Pipedream securely stores the keys so you can easily authenticate to RunSignup APIs in both code and no-code steps.
To retrieve your API Key and API Secret,