- Clone the repository
- Create an env and activate it
$ python3 -m venv env
$ source env/bin/activate
- Install requirements
$ pip install -r requirements.txt
- Go to Google Takeout here: https://takeout.google.com/settings/takeout
- Unselect everything except "Location History" and click "Next step"
- Choose "Create Archive"
- Wait a few minutes or hours depending on the file size and check your mail box
- Click on the link received to download a ZIP containing the full history
- Copy the main JSON file to the root folder and rename it to "data.json"
Example with base and year arguments:
$ python process.py --base Belgium --year 2019
📊 Report for 2019 (base country is "Belgium")
⏳ Processing...
✅ Done.
📅 Timeline:
✈️ 1 days in (...), from Tuesday 19 of February 2019
✈️ 10 days in (...), from Wednesday 20 of February 2019
✈️ 1 days in (...), from Saturday 02 of March 2019
✈️ 22 days in (...), from Sunday 03 of March 2019
✈️ 1 days in (...), from Monday 25 of March 2019
✈️ 4 days in (...), from Thursday 28 of March 2019
✈️ 23 days in (...), from Wednesday 15 of May 2019
✈️ 1 days in (...), from Tuesday 11 of June 2019
✈️ 17 days in (...), from Wednesday 12 of June 2019
✈️ 1 days in (...), from Sunday 30 of June 2019
✈️ 15 days in (...), from Friday 05 of July 2019
✈️ 20 days in (...), from Thursday 25 of July 2019
✈️ 7 days in (...), from Sunday 18 of August 2019
✈️ 9 days in (...), from Sunday 25 of August 2019
✈️ 7 days in (...), from Tuesday 03 of September 2019
✈️ 16 days in (...), from Sunday 15 of September 2019
✈️ 17 days in (...), from Wednesday 09 of October 2019
✈️ 4 days in (...), from Saturday 26 of October 2019
✈️ 1 days in (...), from Wednesday 30 of October 2019
✈️ 1 days in (...), from Thursday 31 of October 2019
✈️ 6 days in (...), from Friday 01 of November 2019
✈️ 15 days in (...), from Friday 29 of November 2019