Skip to content

Instantly share code, notes, and snippets.

@twistedpair
Created January 2, 2018 16:14
Show Gist options
  • Save twistedpair/f07b03023e871ab1d672b92420ac7ca7 to your computer and use it in GitHub Desktop.
Save twistedpair/f07b03023e871ab1d672b92420ac7ca7 to your computer and use it in GitHub Desktop.
Live Track Flight via Bash & GoGoWifi JSON API
!#/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