with Hive and Cyfe?
Create an action for given workspace See the documentation
The Hive API allows for robust interaction with Hive's project and team management tools. By leveraging the Hive API within Pipedream, you can automate tasks, sync data across platforms, and create custom workflows that enhance productivity. For instance, you could automate project creation, update task statuses, or sync information to other business tools. Pipedream's serverless platform simplifies integration, enabling you to focus on crafting workflows without worrying about infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
hive: {
type: "app",
app: "hive",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.hive.com/api/v1/users`,
params: {
api_key: `${this.hive.$auth.api_key}`,
user_id: `${this.hive.$auth.user_id}`,
},
})
},
})
The Cyfe API lets you automate and enhance your data visualization and business intelligence tasks. With Cyfe, you can programmatically create dashboards, add or update widgets, and manage data pushed to these widgets. By leveraging the Cyfe API on Pipedream, you gain serverless execution of workflows, allowing you to connect Cyfe with numerous other services and automate tasks without managing infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cyfe: {
type: "app",
app: "cyfe",
}
},
async run({steps, $}) {
const data = {
"Date": `20130320`,
"Users": `3`,
}
return await axios($, {
method: "post",
url: `https://app.cyfe.com/api/push/{your_widget_id}`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})