ChangeNOW instant crypto exchange service
Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.
The ChangeNOW API provides a platform for instant cryptocurrency exchange services, enabling users to swap cryptocurrencies without the need for registration or creating an account. It offers functionalities such as getting currency exchange rates, transaction statuses, and creating new transactions. Within Pipedream, this API can be used to automate workflows involving cryptocurrency trades, monitor exchange rates, and even trigger actions based on these rates or transaction statuses.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
changenow: {
type: "app",
app: "changenow",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.changenow.io/v1/min-amount/btc_eth`,
params: {
api_key: `${this.changenow.$auth.standard_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}}