with Tidy and Open Exchange Rates?
Creates a new address in Tidy. See the documentation(https://help.tidy.com/create-an-address)
Convert any money value from one currency to another. See the documentation
Get the latest exchange rates available. See the documentation
The Tidy API offers a range of functions tailored for property management, enabling users to automate tasks like booking cleanings, managing properties, and keeping track of services. Integrating the Tidy API into Pipedream workflows opens up possibilities for automating communications, scheduling, and property management tasks by connecting Tidy with hundreds of other apps. This can significantly streamline operations for property managers, cleaning services, and real estate businesses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tidy: {
type: "app",
app: "tidy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.tidy.com/api/v1/addresses`,
headers: {
Authorization: `Bearer ${this.tidy.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
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}`,
},
})
},
})