with TMetric and LinearB?
Emit new event when a new deploy is created in LinearB. See the documentation
Create a new incident within the LinearB platform. See the documentation
The TMetric API provides the ability to interact programmatically with TMetric's time tracking features, allowing developers to create, read, update, and delete time entries, projects, and workspaces. By leveraging the API within Pipedream, you can connect TMetric to hundreds of other apps to automate time tracking as part of larger business processes, such as invoicing, project management, and reporting workflows.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
tmetric: {
type: "app",
app: "tmetric",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.tmetric.com/api/v3/user`,
headers: {
Authorization: `Bearer ${this.tmetric.$auth.api_token}`,
},
})
},
})
The LinearB API serves as a bridge between LinearB's project management insights and your preferred platforms, offering the ability to automate workflows, generate reports, and trigger actions based on project metrics. With Pipedream, these capabilities can be harnessed to create custom workflows that respond to events within LinearB, such as changes in project status or team performance metrics. The data can be pushed to various services, such as communication tools, databases, or other project management apps to enhance visibility and coordination across your team.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
linearb: {
type: "app",
app: "linearb",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://public-api.linearb.io/api/v1/deployments`,
headers: {
"x-api-key": `${this.linearb.$auth.api_key}`,
},
})
},
})