Brikwerk / time-tracker-extractor

Extracts hours worked across multiple workspaces for Toggl and Clockify

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Time Tracker Extractor

Extracts hours worked across multiple workspaces in Clockify and Toggl. The time logs compiled are output as a CSV file grouped according to time period, user, and workspace.

Getting Started

  1. Install the script's dependencies. Python 3.7+ required.
pip install -r requirements.txt
  1. Copy tokens.example.json, rename it to tokens.json and fill in the file with your API keys for either Toggl and/or Clockify. Multiple Toggl and Clockify tokens can be specified.
{
    "toggl_tokens": [
        "TOGGL_TOKEN_GOES_HERE"
    ],
    "clockify_tokens": [
        "CLOCKIFY_TOKEN_GOES_HERE"
    ]
}
  1. Run the main.py script to extract all times. For extra help, please consult the help dialogue with the --help flag.
python main.py

Please Note The time periods in this script run Wednesday to Friday and Friday to Wednesday. Modification of the script would be required to change this.

License

MIT

About

Extracts hours worked across multiple workspaces for Toggl and Clockify

License:MIT License


Languages

Language:Python 100.0%