Skip to content

Tracking the arrival times of the Lisbon Metro at each station.

License

Notifications You must be signed in to change notification settings

pereira0x/whereismetro

Repository files navigation

made-with-python


Logo
whereismetro

Tracking the arrival times of the Lisbon Metro at each station.

About The ProjectHow To UseExamplesTo Do

screenshot

About The Project

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.

Installation

  1. Clone the repo
    git clone https://github.com/pearsettings44/whereismetro
  2. Install requirements
    pip install -r requirements.txt
  3. 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'
  4. Deploy the app (default will be on http://127.0.0.1:8000/)
    python manage.py runserver

Usage

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

Examples

alt text

Yellow line page.

alt text

Green line page.

To Do

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.

About

Tracking the arrival times of the Lisbon Metro at each station.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published