with Taleez and Revolt?
Emit new event when a candidate is added in Taleez. See the documentation
Emit new event when a job listing is created in Taleez. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
taleez: {
type: "app",
app: "taleez",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.taleez.com/0/units`,
headers: {
"x-taleez-api-secret": `${this.taleez.$auth.secret_key}`,
"accept": `application/json;charset=UTF-8`,
},
params: {
page: `0`,
pageSize: `100`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
revolt: {
type: "app",
app: "revolt",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.revolt.$auth.environment}/auth/account/`,
headers: {
"x-session-token": `${this.revolt.$auth.oauth_access_token}`,
},
})
},
})