with Onethread and Veedea?
The Onethread API allows you to tap into a project management platform designed to streamline teamwork and improve project execution. By integrating the Onethread API with Pipedream, you can automate repetitive tasks, sync data with other tools, and create custom notifications and reports. This enables you to craft workflows that connect Onethread data with hundreds of other apps, leading to a more efficient project management environment.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
onethread: {
type: "app",
app: "onethread",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.onethread.app/api/v1/accounts/`,
headers: {
Authorization: `Bearer ${this.onethread.$auth.access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
veedea: {
type: "app",
app: "veedea",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://veedea.com/api/getcampaign`,
params: {
api_key: this.veedea.$auth.api_key,
token: this.veedea.$auth.access_token,
},
})
},
})