with Open Exchange Rates and Zep?
Emit new event when a new significant change in a specified currency rate is detected.
Emit new event when a message is added to a session. See the documentation
Emit new event when a new session is created in Zep. See the documentation
Emit new event when an existing session is updated. See the documentation
Convert any money value from one currency to another. See the documentation
Adds memory to an existing session in Zep. See the documentation
Get the latest exchange rates available. See the documentation
The Open Exchange Rates API provides real-time and historical exchange rates for currencies worldwide, which enables you to retrieve the latest currency data for any purpose like financial reporting, pricing products in multiple currencies, or converting currency for international transactions. In Pipedream, you can tap into this API to create workflows that automate currency-related tasks, enrich data with current exchange rates, and trigger actions based on currency fluctuations.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
open_exchange_rates: {
type: "app",
app: "open_exchange_rates",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openexchangerates.org/api/usage.json`,
params: {
app_id: `${this.open_exchange_rates.$auth.app_id}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zep: {
type: "app",
app: "zep",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getzep.com/api/v2/users-ordered`,
headers: {
"authorization": `Api-Key ${this.zep.$auth.api_key}`,
},
})
},
})