import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
espy: {
type: "app",
app: "espy",
}
},
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.espy.$auth.api_key}`,
},
})
},
})
Get the results of the lookup with the provided ID. See the documentation
ESPY uses API keys for authentication. When you connect your ESPY account, Pipedream securely stores the keys so you can easily authenticate to ESPY APIs in both code and no-code steps.