The Oxylabs API provides robust tools for web data extraction, enabling you to gather vast amounts of data efficiently from various sources across the web. With Pipedream's serverless platform, you can harness this power to create automated workflows that trigger on specific events, process the data, and connect to other services. Whether you're monitoring brand sentiment, tracking prices, or conducting market research, integrating Oxylabs with Pipedream can significantly streamline your data collection and analysis tasks.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
oxylabs: {
type: "app",
app: "oxylabs",
}
},
async run({steps, $}) {
const data = {
"geo_location": `United States`,
"url": `https://books.toscrape.com/catalogue/a-light-in-the-attic_1000/index.html`,
"source": `universal`,
}
return await axios($, {
method: "post",
url: `https://${this.oxylabs.$auth.api_name}.oxylabs.io/v1/queries`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.oxylabs.$auth.username}`,
password: `${this.oxylabs.$auth.password}`,
},
data,
})
},
})
Brand Monitoring Automation: Retrieve web data on brand mentions across different sites and social media platforms using the Oxylabs API. Dispatch this data to a sentiment analysis service like Google Cloud Natural Language API, and save the sentiment scores in a Google Sheet for real-time brand sentiment tracking.
Price Comparison Engine: Schedule regular extractions of pricing data from e-commerce websites via the Oxylabs API. Use this data to compare your product prices against competitors. Pipedream can then update a dashboard in a tool like Geckoboard or send a Slack notification if a competitor changes their price.
Market Research Workflow: Collect large-scale data sets from various industry sites using Oxylabs, and feed this data into a Pipedream workflow. Perform data transformation using Pipedream's built-in Node.js code steps, then store the results in a database like PostgreSQL or send it to a BI tool like Tableau for analysis and visualization.
Oxylabs uses API keys for authentication. When you connect your Oxylabs account, Pipedream securely stores the keys so you can easily authenticate to Oxylabs APIs in both code and no-code steps.
Your API Username and Password are sent to your email when you sign up to Oxylabs.