Created
November 20, 2018 05:33
-
-
Save chtzvt/d5ab5428c525a8cb56ebd470b04ff45f to your computer and use it in GitHub Desktop.
Gather interesting telemetry data from your Southwest flight!
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
#! /usr/bin/env bash | |
# The oneliner below will gather the latest telemetry data about your Southwest flight every two seconds. | |
# Each response is stored as a text file in JSON format, with the name of the file being the current time. | |
# I recommend running this in a directory you've created for this purpose. | |
watch -n 2 -x bash -c 'curl -o $(date +%T).json http://southwestwifi.com/current.json' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment