record-tgv-movement

Record the movement of any TGV using the on-board WiFi.

Usage no npm install needed!

<script type="module">
  import recordTgvMovement from 'https://cdn.skypack.dev/record-tgv-movement';
</script>

README

record-tgv-movement

Record the movement of any TGV using the on-board WiFi.

npm version ISC-licensed chat with me on Gitter support me on Patreon

Installation

npm install -g record-tgv-movement

Or just use npx:

npx record-tgv-movement >file.ndjson

Usage

Usage:
    record-tgv-movement >file.ndjson

The JSON format matches record-ice-movement where possible:

{
    "ok": true,
    "speed": 36.486,
    "latitude": 47.743205,
    "longitude": 7.346025,
    "heading": 220.3,
    "precision": 10,
    "serverTime": 1568473509000,
    "clientTime": 1568473510187
}

Contributing

If you have a question or have difficulties using record-tgv-movement, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.