CurrencyBeacon is a developer friendly, easy-to-use REST API with real-time and historical exchange rates for fiat currencies and cryptocurrencies.
Emit new event when the exchange rate for a currency is updated See the documentation
Convert a specified amount 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 historical rates for a currency See the documentation
Get the latest exchange rates for a currency See the documentation
The CurrencyScoop API offers real-time and historical exchange rate data, as well as currency conversion and time-series data. By integrating with Pipedream, users can create automated workflows that react to currency fluctuations, update pricing in their apps, or generate financial reports. Pipedream's serverless architecture enables running these workflows on a schedule or in response to certain triggers without managing any infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
currencyscoop: {
type: "app",
app: "currencyscoop",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.currencybeacon.com/v1/latest?api_key=${this.currencyscoop.$auth.api_key}`,
})
},
})
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}}