Project management software
Using the Teamwork API, you can build powerful tools and applications that help
you or your team stay connected and get more done. Here are a few examples of
things you can build with it:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
teamwork: {
type: "app",
app: "teamwork",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.teamwork.$auth.domain}/me.json`,
headers: {
Authorization: `Bearer ${this.teamwork.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
github: {
type: "app",
app: "github",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.github.com/user`,
headers: {
Authorization: `Bearer ${this.github.$auth.oauth_access_token}`,
"X-GitHub-Api-Version": `2022-11-28`,
},
})
},
})