Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show arrivals in LiveBoard #42

Open
Thibstars opened this issue Sep 12, 2023 · 2 comments
Open

Show arrivals in LiveBoard #42

Thibstars opened this issue Sep 12, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@Thibstars
Copy link
Owner

Thibstars commented Sep 12, 2023

Show in separate tab.

@Thibstars Thibstars added enhancement New feature or request good first issue Good for newcomers labels Sep 12, 2023
@Thibstars Thibstars changed the title Also show arrivals in LiveBoard Show arrivals in LiveBoard Sep 12, 2023
@dotSlash-Adwitiya
Copy link

I want to work on this issue, I am a beginner in open-source. Can you please guide me ?

@Thibstars
Copy link
Owner Author

Hello, you're most welcome to help out.

At this point, there is just one view, the one for departures.
I would like to create a tab view with two tabs; 1 for departures and 1 for arrivals.

The arrivals view can be almost identical to the departures one, only another iRail call must be done.
Checkout the iRails API: https://docs.irail.be/#liveboard. Here you can see that there is a parameter called arrdep, that you could use with value arrival in order to fetch the correct data. Use that data in the new tab.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants