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

Bus timings do not load #3448

Open
wilsonwid opened this issue Jul 1, 2023 · 2 comments
Open

Bus timings do not load #3448

wilsonwid opened this issue Jul 1, 2023 · 2 comments
Labels

Comments

@wilsonwid
Copy link

Describe the bug

Bus timings at available bus stops are not displayed. Furthermore, there seems to be outdated bus services as brought up by #3407.

To Reproduce

Steps to reproduce the behavior:

  1. Go to nusmods.com/venues/
  2. Select any venue close to a bus stop, and select said bus stop.

Expected behavior

The popout should display timings for currently available bus routes.

Screenshots

image

Desktop (please complete the following information):

  • OS: MacOS
  • Browser: Chrome

Additional context

There are also outdated bus stops and new services (service E and K come to mind) are not displayed.

@zwliew zwliew added the bug label Aug 4, 2023
@zwliew
Copy link
Member

zwliew commented Aug 10, 2023

This issue seems to happen because the old NextBus API that we were using was taken down and replaced by nnextbus.nus.edu.sg.

Also, the new API requires auth.

@jloh02
Copy link
Contributor

jloh02 commented Sep 4, 2023

Found an open endpoint that's used by sets.netlify.app. There are other endpoints to get the timings for each bus stop. Not sure if we want to delve into using this though

https://urchin-app-jluem.ondigitalocean.app/api/bustimings/allstops/National%20University%20of%20Singapore

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants