with Ashby Job Postings and Fiserv?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ashby_job_postings_api: {
type: "app",
app: "ashby_job_postings_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ashbyhq.com/posting-api/job-board/${this.ashby_job_postings_api.$auth.job_board_name}`,
params: {
includeCompensation: `true`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fiserv: {
type: "app",
app: "fiserv",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.fiserv.$auth.url}/sandbox/exp/v1/authorisations`,
headers: {
"API-Key": `${this.fiserv.$auth.api_key}`,
},
})
},
})