import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
epsy: {
type: "app",
app: "epsy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://irbis.espysys.com/api/request-monitor/credit-stat`,
headers: {
"accept": `application/json`,
"content-type": `application/json`,
},
params: {
key: `${this.epsy.$auth.api_key}`,
},
})
},
})
Get the results of the lookup with the provided ID. See the documentation
Epsy uses API keys for authentication. When you connect your Epsy account, Pipedream securely stores the keys so you can easily authenticate to Epsy APIs in both code and no-code steps.