with Octoparse and WP Maps ?
Emit new event when a new product is created in WP Maps. See the documentation
Emit new event when a new store is created in WP Maps. See the documentation
The Octoparse API allows you to automate the extraction of web data without coding, making it a powerful tool for data-driven workflows. With this API, you can control your scraping tasks, retrieve extracted data, and manage your account programmatically. When combined with Pipedream's serverless execution environment, you can build custom workflows to process, store, or act upon the data fetched by Octoparse. This integration can be a cornerstone for solutions in market research, competitor analysis, price monitoring, or lead generation.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
octoparse: {
type: "app",
app: "octoparse",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openapi.octoparse.com/taskGroup`,
headers: {
Authorization: `Bearer ${this.octoparse.$auth.oauth_access_token}`,
},
})
},
})
The WP Maps API is a tool that enables you to integrate interactive maps into WordPress sites. You can use it to display custom markers, layers, and various map providers within your WordPress pages. With Pipedream, you can create serverless workflows that leverage the WP Maps API to automate map-related tasks. You could, for example, synchronize map data with external databases, send notifications when a new marker is added, or dynamically update maps based on user interactions or other triggers.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wp_maps: {
type: "app",
app: "wp_maps",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://svr.wpmaps.net/v1/products/all`,
params: {
client_id: `${this.wp_maps.$auth.client_id}`,
access_token: `${this.wp_maps.$auth.access_token}`,
},
})
},
})