Best way to get tracking data via Python on another machine? #507
-
Hey there, Now I wonder what would be the best way to get time tracking data via Python locally on my other machine. Especially when it comes to searching for specific time tracking data with a certain set of tags. Is this somehow possible? I looked at timetagger_cli, but this seems to be a CLI application only. Even the Python module just prints out what you can do via terminal, but does not return e.g. Python dict or lists or so. Looking forward to replies! Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
You'd basically have to use the web api: https://timetagger.readthedocs.io/en/stable/webapi/ You can peak at timetagger_cli for inspiration. The server is actually rather stupid and does not support any kind of search functionality (yet). The timetagger web app has all your records, and "simply" sync any changes that the app makes to them.
So ... not really, at the moment. The best you can get is download all your records, preferably cache them on disk, and search to these locally with some basic Python string searches. |
Beta Was this translation helpful? Give feedback.
You'd basically have to use the web api: https://timetagger.readthedocs.io/en/stable/webapi/ You can peak at timetagger_cli for inspiration.
The server is actually rather stupid and does not support any kind of search functionality (yet). The timetagger web app has all your records, and "simply" sync any changes that the app makes to them.
So ... not really, at the moment. The best you can get is download all your records, preferably cache them on disk, and search to these locally with some basic Python string searches.