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
Thanks for this @adamtrousdale, I can see from the console and the dashboard output that the API is working and fetching in statuses:
However the font awesome icons don't appear. I haven't made any changes to the core so do you have any ideas why this would be happening? Thanks in advance!