The TFL API is called via Ruby to populate a hash with line names and station names.
The API is also used to get information about live disruptions.
For the MVP the aim was creating the classes, relationships and the methods to answer the following questions:
- What stations are on a Tube Line? β
- What lines does a Tube Station belong to? β
- What Tube Stations have the most Lines? β
- What Tube Stations have have least Lines? β
- What Tube Lines have the most Stations? β
- WhatTube Lines have the least stations? β
Once the MVP was complete, the mission was:
- Get real data from the TFL API β
- Populate tables with this real data β
- Perform Validation β
- Make the CLI look clean & β¨ β¨sparkly. β
- Show line colours in CLI. β
The main stretch goals are:
- Get Live Service data from TFL API to show π« disruptions
β οΈ . β - Use emojis πin the π CLI β
- π‘ Incorporate DLR and Overground data. π§
- Clean up the code. π± π π§
gem "sinatra-activerecord"
gem "sqlite3"
gem "pry"
gem "require_all"
gem 'rest-client'
gem 'json'
gem 'artii'
gem 'rainbow'