timetagger
timetagger copied to clipboard
Make presets available via icon-buttons
OMG this is freakin awesome!
If someone could explain the API PUT request to start/stop a description event, I could easily provide instructions and build the backbone to put this into MacroDroid and Home Assistant. I understand the general gist of the API, but I'm pretty new on building API requests, so bear with me.
If someone could explain the API PUT request to start/stop a description event
Can you be more clear what part is unclear to you? Perhaps these resources help?
- The web api docs: https://timetagger.readthedocs.io/en/latest/webapi/
- How the timetagger cli uses the API: https://github.com/almarklein/timetagger_cli/blob/main/timetagger_cli/core.py
- Of particular interest are
start()
,stop()
andrequest()
.
- Of particular interest are
Hi, I have made (something similar to) this using Shortcuts in iOS. If anyone would like to copy those just tag me.
My experience from setting that up is that working with the API requires a lot local processing of data between requests. Is there any way to simplify working with the API @almarklein? Akin to sending a request with only the string to set for the timer and then have the server figure out all the timing?
Is there any way to simplify working with the API
No, the server is pretty "stupid", as it knows little about what the data means.