Skip to content

Get your current working time from Kimai into a file using their API

License

Notifications You must be signed in to change notification settings

RottenSchnitzel/kimai-time-fetcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Kimai Time Fetcher

This little python script uses Kimai's API for putting the current worktime into a file.

Usage

Just put your username and API access token into the .env file and you can run the skript. Run it manually first in order to check weither the request works. In case a number gets printed this is the response status of the kimai page. If everything works no output is generated.

Don't forget: the default path to the active timesheets is /api/timesheets/active

Example Setup (i3status)

License

You could do it better...

You feel like the code can be improved? I'm sure it can be! Contributions are very welcome!

About

Get your current working time from Kimai into a file using their API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published