Compare prices and keep on eye on the availability of your competitor hotels.
Emit new event when a new competitor is added. See the docs
Emit new event when a new stay is created. See the docs
Send events to a webhook. Requires a Team or Business account.
Retrieve a list of montiored competitors. See the docs
The WuBook RateChecker API allows users to retrieve detailed pricing information and rates for various hotels. This powerful tool can be integrated into Pipedream workflows to create automated processes for monitoring hotel prices, analyzing market trends, or updating pricing strategies. With Pipedream's capabilities, you can trigger actions based on the data fetched from WuBook, connect to various apps, and build complex workflows without managing servers or infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wubook_ratechecker: {
type: "app",
app: "wubook_ratechecker",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://wubook.net/wrpeeker/api/user`,
params: {
format: `json`,
token: `${this.wubook_ratechecker.$auth.api_token}`,
},
})
},
})
The Segment API enables you to collect, manage, and route your customer analytics data to various tools for marketing, analytics, and data warehousing. By harnessing the Segment API on Pipedream, you can automate the ingestion and syncing of user events and properties to multiple destinations, allowing you to create seamless data pipelines without manual intervention. Pipedream's serverless platform empowers you to build custom workflows that react to events in real-time, enrich data, or trigger actions across your tech stack.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
segment: {
type: "app",
app: "segment",
}
},
async run({steps, $}) {
const data = {
"event": `PipedreamTestOrder`,
"anonymousId": `019mr8mf4r`,
}
return await axios($, {
method: "post",
url: `https://api.segment.io/v1/track`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.segment.$auth.write_key}`,
password: ``,
},
data,
})
},
})