Consistent, reliable exchange rate data and currency conversion for your business.
Convert any money value from one currency to another. See the documentation
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
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}`,
},
})
},
})
Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.
This includes installing PyPI packages, within your code without having to manage a requirements.txt
file or running pip
.
Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:
def handler(pd: "pipedream"):
# Reference data from previous steps
print(pd.steps["trigger"]["context"]["id"])
# Return data for use in future steps
return {"foo": {"test":True}}