NUS Next Bus API not work

Open
#4,417 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Quiet
Tech stack
javascript
Domain
api, backend

Research direction

Start by reproducing the empty bus-time response from the LT27 venue page and querying https://nnextbus.nusmods.com/. Trace how the venue page requests bus data and inspect the proxy service entry point if available. Done means the proxy returns current bus times and the bus buttons display them again.

Written by the indexing model from the issue text.

Description

Describe the bug

The NUS Next Bus API does not work. Thus, the bus information cannot be displayed.

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://nusmods.com/venues/LT27
  2. Click on any bus button
Additional context

The proxy api https://nnextbus.nusmods.com/ now always returns empty results for bus times. I believe this is because the NextBus App stopped working, and some api also stopped working. The proxy server may need to be fixed.

Dominant language
JavaScript
Stars
689
Forks
364
Avg merge
7h 5m
Merged PRs (30d)
14

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from nusmodifications/nusmods

All issues in nusmodifications/nusmods

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.