with Greenhouse Job Board and Selzy?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
greenhouse_job_board_api: {
type: "app",
app: "greenhouse_job_board_api",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://boards-api.greenhouse.io/v1/boards/${this.greenhouse_job_board_api.$auth.board_token}/jobs`,
headers: {
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
selzy: {
type: "app",
app: "selzy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.selzy.com/en/api/getCampaigns`,
params: {
format: `json`,
api_key: `${this.selzy.$auth.api_key}`,
},
})
},
})