with Wachete and Fixer?
Emit new event when a Wachet receives a new notification
Creates a new monitor for a specific website or web page. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
Convert amount from one currency to another using real-time exchange rates. See the documentation
Removes an existing monitor for a specific website or web page. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
Retrieves data from a monitored website or web pages. [See the documentation(https://api.wachete.com/swagger/ui/index/index.html)
The Wachete API lets you track changes in web content and get notified when updates happen. This is handy for monitoring websites for new content, price changes, or availability of products, without manually checking the sites. Using Pipedream, you can integrate Wachete with other apps to automate reactions to these updates. Think about monitoring your competitors’ sites, keeping tabs on industry news, or even watching for job postings. With Wachete on Pipedream, these tasks become set-and-forget operations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
wachete: {
type: "app",
app: "wachete",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.wachete.com/thirdparty/v1/notification/list`,
headers: {
Authorization: `Bearer ${this.wachete.$auth.oauth_access_token}`,
"Content-type": `application/json`,
"accept": `*/*`,
},
})
},
})
The Fixer API provides real-time exchange rate data for various currencies, making it invaluable for financial applications, data analysis, and e-commerce platforms. Within Pipedream, you can harness this API to create automated workflows that trigger on schedules or events, process currency data, and connect with other services to perform actions such as updating pricing models, sending alerts, or syncing financial data across platforms.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
fixer_io: {
type: "app",
app: "fixer_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://data.fixer.io/api/latest`,
headers: {
"Accept": `application/json`,
},
params: {
access_key: `${this.fixer_io.$auth.api_key}`,
},
})
},
})