with Keen.io and FinalScout?
The Keen.io API provides robust analytics and data collection capabilities. On Pipedream, you can harness this power to create custom event tracking and analysis workflows, automate reporting, and drive data-informed decisions. With Keen.io's ability to capture, analyze, and embed event data, you can set up workflows on Pipedream that react to data streams in real-time, aggregate metrics, or trigger actions in other apps based on insights.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
keen_io: {
type: "app",
app: "keen_io",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.keen.io/3.0/projects/${this.keen_io.$auth.project_id}/events`,
params: {
api_key: `${this.keen_io.$auth.key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
finalscout: {
type: "app",
app: "finalscout",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.finalscout.com/v1/account`,
headers: {
"authorization": `${this.finalscout.$auth.api_key}`,
},
})
},
})