Initial query docs#2
Merged
Merged
Conversation
ErikBjare
requested changes
Dec 23, 2017
ErikBjare
left a comment
Member
There was a problem hiding this comment.
Really nice improvements, just a minor issue.
| # Synchronous example, insert an event | ||
| event_data = {"label": "non-heartbeat event"} | ||
| now = datetime.now(timezone.utc) | ||
| event = Event(timestamp=now, data=shutdown_data) |
Member
There was a problem hiding this comment.
data=shutdown_data -> data=event_data
Member
Author
There was a problem hiding this comment.
Hmm weird, was pretty certain that i had tested that code but apparently not. Fixed.
ErikBjare
reviewed
Dec 26, 2017
| ActivityWatch is written to be flexible to be able to gather most types of data. | ||
| Except for the included aw-watcher-window and aw-watcher-afk which tracks your application usage and are included by default in ActivityWatch, there are additional so-called :doc:`watchers` for activitywatch. | ||
|
|
||
| If there is some kind of data you would want to track but are not |
|
|
||
| Writing watchers for ActivityWatch is pretty easy, all you need is the :code:`aw-client` library. | ||
|
|
||
| **NOTE:** These examples runs the client in *testing* mode, which means that it will try to connect to a aw-server in testing mode on the port 5666 instead of the normal 5600. |
Member
There was a problem hiding this comment.
Use a .. note:: block here :)
ErikBjare
approved these changes
Jan 20, 2018
Member
Author
|
There is still a lot more to add, but since this is a significant improvement and I don't have time to work on it right now I'll merge this for now. |
Member
|
Nice! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.