Read the statement by Michael Teeuw here.
MMM-RNV
-
I mean that I dont want to see all connections leaving from that particular stop but just in one direction.
E.g. if I lived near a final destination I would just want to see the city-bound connections. -
Hey @yawns!
I finally had a deeper look into the API and your code and felt free to adapt it a little according to my needs.I did the following things:
- added the so called poles to be defined in the personal config
this enables one to choose certain tracks/platforms at a particular stop (this was what i spoke about when I replied to your post the first time) - added a time offset, which it would take one to reach the acutal stop (by foot).
- correction of the current time format from 12h to 24h, which led to an error when I tested the offset. (from hh --> HH)
- edited the readme
Because I’m completely new to Github I hope I did the most of it right till now. Guess the next step would be to create a pull request if you like, right?
Cheers!
- added the so called poles to be defined in the personal config
-
Looks good, I like your changes. Yes please, submit a pull request and I will add it to the main repository so other users can benefit from your changes
-
Alright,
i found a bug which led to still showing connections after the offset.Newest release has
- offset bug fixed
- new option to choose how many departures shall be shown (between 1 and 10)
I’m gonna test this release a few days and then send a pull request :)
-
Alright, I sent you a pull request.
Additionally, I’m currently testing another new feature where
- delay is shown for all connections which have already started even if there is no delay.
- delay is shown for all connections which have already started even if there is no delay.