with Finage and IFTTT?
The Finage API provides real-time, historical, and market data across stocks, currencies, and cryptocurrencies. Integrating Finage with Pipedream allows you to create workflows that react to market changes, automate trading analysis, and consolidate financial data for reporting. With Pipedream, you can tap into webhooks, schedules, and over 800+ apps for extensive automation possibilities, leveraging Finage's vast financial datasets.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finage: {
type: "app",
app: "finage",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finage.co.uk/last/forex/GBPUSD`,
params: {
apikey: `${this.finage.$auth.api_key}`,
},
})
},
})
IFTTT (If This Then That) is a service that lets you create chains of conditional statements, known as applets. These applets can automate tasks across a variety of web services and APIs. By integrating IFTTT with Pipedream, you unlock the ability to handle complex logic, manage state, transform data, and interact with over 600+ supported apps in Pipedream’s ecosystem. You can trigger workflows on Pipedream with events from IFTTT and vice versa, creating a seamless automation experience.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ifttt: {
type: "app",
app: "ifttt",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://connect.ifttt.com//v2/me`,
headers: {
"IFTTT-Service-Key": `${this.ifttt.$auth.ifttt_Service_Key}`,
},
})
},
})