personium / app-personium-trails

Application for sharing your location history.
Apache License 2.0
5 stars 5 forks source link

FEAT: Add import-script #18

Closed tochi-y closed 4 years ago

tochi-y commented 4 years ago

Usage

curl -X POST \
  -H "Authorization: Bearer $TOKEN" \
  -d '{"target":"'$TARGET'"}' \
  https://$APP_URL/app-personium-trails/Engine/process_imported_data | jq .

{
  "status": "success",
  "counts": {
    "total": 51,
    "stay": 23,
    "move": 28
  }
}