If you’ve ever been to Times Square in New York City, you’re probably familiar with the tkts booth, which offers discounted Broadway tickets for same-day shows. Using an Arduino with an Ethernet Shield, a Staples Easy Button, and a thermal printer, Chris D’Angelo created a device that prints the current discount for each show. Since tkts doesn’t have a public API, Chris used their iPhone app and a man-in-the-middle proxy called mitmproxy to determine the URL that the app requests to get the latest data. The Arduino requests that URL and parses the response, which is then formatted for output on the serial thermal printer. Nice thinking! I’m definitely adding mitmproxy to my toolset. [via Adafruit]
ADVERTISEMENT