with CATS and V7 Darwin?
Adds a specific candidate to a job pipeline in CATS. See the documentation
Create a new candidate in your CATS database. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cats: {
type: "app",
app: "cats",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.catsone.com/v3/users`,
headers: {
"Authorization": `Token ${this.cats.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
v7_darwin: {
type: "app",
app: "v7_darwin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://darwin.v7labs.com/api/memberships`,
headers: {
"Authorization": `ApiKey ${this.v7_darwin.$auth.api_key}`,
},
})
},
})