itachi1706 / SingBuses

A Bus Arrival Tracker with Android Wear (Planned but not in the lonnnng future)
3 stars 1 forks source link

Speed up NTU public bus calling #140

Closed itachi1706 closed 5 years ago

itachi1706 commented 5 years ago

Right now it issues 3 separate API calls to obtain data on the 3 public bus services available. Tweak the API to accept a CSV input of bus services and stop IDs and return the relevant bus information so that we can condense it into 1 call

Sent from my LG G7 ThinQ using FastHub

itachi1706 commented 5 years ago

Web API portion done. It now allows you to use a query string param called "CSV" to pass in the values in the respective order ":;"