12 lines
549 B
Python
12 lines
549 B
Python
import os
|
|
from location_history_visualizer import LocationHistoryVisualizer
|
|
|
|
if __name__ == "__main__":
|
|
google_maps_api_key = os.environ.get("GOOGLE_MAPS_API_KEY")
|
|
json_filepath = "/Users/maq/Desktop/Desktop2.7.2025/Desktop/MAYTE FILES2/takeout folders/New Folder With Items/LocationHistory.json" # Replace with your actual file path
|
|
|
|
if google_maps_api_key:
|
|
app = LocationHistoryVisualizer(google_maps_api_key, json_filepath)
|
|
app.run()
|
|
else:
|
|
print("Please set the GOOGLE_MAPS_API_KEY environment variable.") |