Created
January 2, 2018 16:14
-
-
Save twistedpair/f07b03023e871ab1d672b92420ac7ca7 to your computer and use it in GitHub Desktop.
Live Track Flight via Bash & GoGoWifi JSON API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
!#/bin/bash | |
# Requires `watch` and `jq` | |
watch -d -n 1 -c -t \ | |
"curl -s 'http://fig.gogoinflight.com/v1/flights?registration-number=N190UW&status=current&detail=true' | jq -C '.[].flight.gps'" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment