Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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