with Instasent and Epsy?
Get the results of the lookup with the provided ID. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
instasent: {
type: "app",
app: "instasent",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.instasent.com/organization/account`,
headers: {
Authorization: `Bearer ${this.instasent.$auth.api_token}`,
"accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})