with Gem and Robopost?
Emit new event when a candidate is added in Gem. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
gem: {
type: "app",
app: "gem",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.gem.com/v0/users`,
headers: {
"x-api-key": `${this.gem.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
robopost: {
type: "app",
app: "robopost",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.robopost.app/v1/video-series`,
params: {
apikey: `${this.robopost.$auth.api_key}`,
search_text: `educational`,
limit: `10`,
},
})
},
})