This is a simple widget to show the realtime status of the London Underground Tube lines.
You can update the list of the lines you would like to include in the list in the tfl_status.rb
.
The widget uses api.tfl.gov.uk as the API source. You need to register there to get an app id
and app key
.
To install, just to a dashing install c3a54f74ada9bb65dc5c
and all should be good!
You might need to include HTTParty to your Gemfile
if you haven't already:
gem 'httparty'
Most of the code is taken from Server Status Widget by willjohnson
Ugh, ignore this comment. Didn't realize the widget was calling icons that no longer existed in font awesome. Updated the icon names and it is all good. Thanks for updating this widget to the new/correct API!!