Skip to content

Instantly share code, notes, and snippets.

@chtzvt
Created November 20, 2018 05:33
Show Gist options
  • Save chtzvt/d5ab5428c525a8cb56ebd470b04ff45f to your computer and use it in GitHub Desktop.
Save chtzvt/d5ab5428c525a8cb56ebd470b04ff45f to your computer and use it in GitHub Desktop.
Gather interesting telemetry data from your Southwest flight!
#! /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