Tracking the arrival times of the Lisbon Metro at each station.
About The Project • How To Use • Examples • To Do •
Whereismetro is a Django App for tracking real time arrivals of the Lisbon Metro. Currently has it's basic functionality, allowing the user to check all the stations of each line. Next steps on my plans are making the website look good and responsive, make sure it is accessible to all.
- Clone the repo
git clone https://github.com/pearsettings44/whereismetro
- Install requirements
pip install -r requirements.txt
- Get yourself an API Key from https://api.metrolisboa.pt/store and store it in the .env file
on your .env file: API_KEY='paste here your key'
- Deploy the app (default will be on http://127.0.0.1:8000/)
python manage.py runserver
http://127.0.0.1:8000/verde/ ----> Green line
http://127.0.0.1:8000/azul/ ----> Blue line
http://127.0.0.1:8000/vermelha/ ----> Red line
http://127.0.0.1:8000/amarela/ ----> Yellow line
Yellow line page.
Green line page.
List of things that are still to be developed:
- Make the arrivals time update every X seconds instead of needing to reload the page.
- Make the website look more modern, pretty, responsive and accessible.
- Expand it to also cover some info about CP trains.