maps.chandlerswift.com/layers/trips/trahan-north-carolina-august-2023/get_data.sh

10 lines
318 B
Bash
Raw Permalink Normal View History

2023-09-01 22:19:05 -05:00
#!/bin/sh
FROM="2023-08-24T12:45:00.000Z"
TO="2023-09-01T21:50:00.000Z"
URL="https://whereis.chandlerswift.com/api/0/locations?from=$FROM&to=$TO&format=geojson&user=chandler&device=oneplus6t"
curl --silent "$URL" \
| python "$(dirname $0)/../../../util/process_owntracks_geojson_to_line.py" \
> data.geojson