You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: misc improved docs, added fetching raw events section (#133)
* fix: update reference of `hostname` to `client_hostname`
* chore: remove unused import
* docs: update versions
* docs: add a link to query page
* docs: create raw_events.py
* docs: add raw data fetching
* docs: minor edit
* docs: comment smartertime importer is deprecated
* docs: additional comments on client.rs
* docs: add wakatime importer
* chore: remove unused import in client.py
* fix: updates to use tuple timeperiods
* docs: replace renaming events with a redaction use case
* docs: better phrasing on aw-import-screentime
Copy file name to clipboardExpand all lines: src/examples/querying-data.rst
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -80,7 +80,13 @@ Example including aw-client:
80
80
81
81
Fetching Raw Events
82
82
-------------------
83
+
It is possible to fetch the raw events from a bucket. This is useful if you want to do your own analysis on the data, or if you want to use the aw-analysis library to do transformations on the data.
83
84
84
-
**TODO:** Write this section
85
+
Example fetching raw events from the "aw-watcher-window_" bucket:
86
+
This is an example that you can run in a Python to fetch raw events posted by the window watcher.
87
+
The scripts sums the time spent on each window title and showcases a data redaction use case.
85
88
86
-
`Bucket REST API <./rest.html#get-events>`_
89
+
.. literalinclude:: raw_events.py
90
+
91
+
92
+
.. TODO `Bucket REST API <./rest.html#get-events>`_
Copy file name to clipboardExpand all lines: src/importers.rst
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,10 @@ Importers
4
4
ActivityWatch can't track everything, so sometimes you might want to import data from another source.
5
5
6
6
- :gh-aw:`aw-import-ical`, supports importing from ``.ical`` files or syncing with Google Calendar.
7
-
- :gh-aw:`aw-importer-smartertime`, imports from `smartertime`_ (Android time tracker).
8
-
- :gh-aw:`aw-import-screentime`, attempt at importing from macOS's Screen Time (and potentially iOS through syncing)
7
+
- :gh-aw:`aw-importer-smartertime`, imports from `smartertime`_ Useful for importing Android screentime data.(Note ActivityWatch also has an Android app :gh-aw:`aw-android`)
8
+
- :gh-aw:`aw-import-screentime`, attempt at importing from macOS's Screen Time (and potentially iOS through syncing).
9
+
- :gh:`brayo-pip/aw-import-wakatime`, imports from `Wakatime`_ (For tracking time spent programming).
0 commit comments