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
Copy file name to clipboardExpand all lines: README.md
+29-15Lines changed: 29 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,6 @@ Since google slowly removes your old data over time, I would recommend periodica
26
26
27
27
- Chrome
28
28
- Google Play Store
29
-
- Timeline
30
29
- Keep
31
30
- My Activity
32
31
- Select JSON as format
@@ -44,7 +43,7 @@ This currently parses:
44
43
- Chrome History - `Chrome/BrowserHistory.json`
45
44
- Google Play Installs - `Google Play Store/Installs.json`
46
45
- Keep (Notes) - `Keep/*.json`
47
-
- Location History:
46
+
- Location History (though, this may not available through any new takeouts anymore as [its stored on device](https://9to5google.com/2023/12/12/google-location-history-timeline-device/)):
If you don't want to cache the results but want to merge results from multiple takeouts, can do something custom by directly using the `merge_events` function:
185
194
186
195
```python
187
196
from google_takeout_parser.merge import merge_events, TakeoutParser
197
+
188
198
itrs = [] # list of iterators of google events
189
-
for path in ['path/to/Takeout-1599315526''path/to/Takeout-1616796262']:
199
+
for path in ["path/to/Takeout-1599315526""path/to/Takeout-1616796262"]:
190
200
# ignore errors, error_policy can be 'yield', 'raise' or 'drop'
191
201
tk = TakeoutParser(path, error_policy="drop")
192
202
itrs.append(tk.parse(cache=False))
@@ -198,6 +208,7 @@ The events this returns is a combination of all types in the [`models.py`](googl
198
208
```python
199
209
from google_takeout_parser.models import Location
200
210
from google_takeout_parser.path_dispatch import TakeoutParser
211
+
201
212
# filter_type can be a list to filter multiple types
0 commit comments