DeskTime

DeskTime is a time tracking software solution that also analyzes productivity. The only fully automatic time tracker app.

Integrate the DeskTime API with the Python API

Setup the DeskTime API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate DeskTime and Python remarkably fast. Free for developers.

Create a New Project with an optional task with the DeskTime API

Create a new project with an optional task in DeskTime. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Start Project with the DeskTime API

Starts tracking time for a given project and optionally a task. See the documentation

 
Try it
Stop Project with the DeskTime API

Stop tracking time for a given project and optionally a task. See the documentation

 
Try it

Overview of DeskTime

The DeskTime API enables you to hook into vital data concerning productivity tracking, employee attendance, and project management. Integrating this API with Pipedream allows you to automate workflows, synchronize productivity data with other tools, and trigger actions based on team performance metrics. For instance, you can set up a system that notifies a project manager when an employee logs overtime or integrates time tracking data with payroll software.

Connect DeskTime

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    desktime: {
      type: "app",
      app: "desktime",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://desktime.com/api/v2/json/company`,
      params: {
        apiKey: `${this.desktime.$auth.api_key}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}