with Recruiterflow and Scrapeless?
Retrieve the result of a completed scraping job. See the documentation
Submit a new web scraping job with specified target URL and extraction rules. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
recruiterflow: {
type: "app",
app: "recruiterflow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://recruiterflow.com/api/external/user/list`,
headers: {
"rf-api-key": `${this.recruiterflow.$auth.api_key}`,
},
params: {
include_count: `true`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
scrapeless: {
type: "app",
app: "scrapeless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.scrapeless.com/api/v1/me`,
headers: {
"x-api-token": `${this.scrapeless.$auth.api_key}`,
},
})
},
})