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}`,
},
})
},
})
TMetric uses API keys for authentication. When you connect your TMetric account, Pipedream securely stores the keys so you can easily authenticate to TMetric APIs in both code and no-code steps.
To retrieve your API key,
Navigate to your TMetric account and sign in
Go to “My Profile” > “Get new API token”