with Range and Open Exchange Rates?
Convert any money value from one currency to another. See the documentation
Get the latest exchange rates available. See the documentation
The Range API provides a platform for managing print shop operations, including job status tracking, quoting, invoicing, and scheduling. Leveraging Pipedream, users can automate workflows between Range and other apps, creating a seamless integration that boosts productivity. Whether it's syncing order details with a CRM, triggering notifications based on job status updates, or automating invoice creation, Pipedream acts as a conduit for connecting Range's print shop management capabilities with a myriad of other services.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
range: {
type: "app",
app: "range",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.range.co/v1/users/auth-user`,
headers: {
Authorization: `Bearer ${this.range.$auth.oauth_access_token}`,
"X-Range-App-ID": `AA0BFrfWOpGg8rTpgQAB`,
"X-Range-Client": `pipedream/1`,
},
})
},
})
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}`,
},
})
},
})