with Automatic Data Extraction and Rippling?
Emit new event when a new worker is created in Rippling. See the documentation
Extract data from a specified URL See the docs here
Retrieves a list of all companies from Rippling. See the documentation
Retrieves a list of all workers from Rippling. See the documentation
The Automatic Data Extraction API by Zyte specializes in extracting structured data from web pages. When incorporated into Pipedream workflows, this API allows you to automate the process of gathering web data, which can feed into various tasks such as market research, price monitoring, or even lead generation. By triggering workflows with new data inputs, processing and storing the extracted data, and connecting to other apps, Pipedream amplifies the API's utility.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
automatic_data_extraction: {
type: "app",
app: "automatic_data_extraction",
}
},
async run({steps, $}) {
const data = JSON.stringify([{
'url': 'http://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html',
'pageType': 'product',
}]);
return await axios($, {
method: "post",
url: `https://autoextract.scrapinghub.com/v1/extract`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.automatic_data_extraction.$auth.api_key}`,
password: ``,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rippling: {
type: "app",
app: "rippling",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://rest.ripplingapis.com`,
headers: {
Authorization: `Bearer ${this.rippling.$auth.api_key}`,
},
})
},
})