TMetric is a time tracking app to increase productivity and business efficiency.
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Using the TMetric API, developers can build a wide range of applications that
help track and manage work hours. The API allows developers to access rich
features and functionality such as task estimation, automated invoicing,
reporting and analysis, resource management, and one-click time tracking - All
of which can be used to help teams and organizations optimize their
performance.
Here are a few examples of what developers can create using the TMetric API:
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}`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})