Skip to content

Kotlin library for parsing unencrypted Google Location History (Timeline) data exported from your device.

License

Notifications You must be signed in to change notification settings

hossain-khan/kgeo-device-timeline

This branch is up to date with main.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

227dadc · Jan 26, 2025

History

93 Commits
Oct 12, 2024
Oct 12, 2024
Jan 18, 2025
Dec 20, 2024
Dec 21, 2024
Jan 18, 2025
Jan 26, 2025
Nov 3, 2024
Oct 12, 2024
Jan 18, 2025
Oct 12, 2024
Dec 20, 2024
Oct 15, 2024
Dec 23, 2024
Dec 2, 2024

Repository files navigation

Google Device Timeline JSON Parser

Parses Google's Location History Timeline JSON data exported from device.

Device Timeline Export Flow

Usage

Get the latest .jar file containing the Parser from releases.

val parser = Parser()
val file = File("timeline.json")
val timeline = parser.parse(file)

println("Parsed timeline data with ${timeline.semanticSegments.size} segments")
println("Parsed timeline data with ${timeline.rawSignals.size} signals")
println("Parsed timeline data with ${timeline.userLocationProfile.frequentPlaces.size} frequent places")

Output

Parsed timeline data with 51902 segments
Parsed timeline data with 7865 signals
Parsed timeline data with 2 frequent places

Related Resources