TinyBoxDev / androclick-server

0 stars 0 forks source link

Search buses by stop number #3

Closed helloIAmPau closed 2 years ago

helloIAmPau commented 9 years ago

An user makes a GET request on /stops/:number in order to obtain the arriving buses. The response is shaped as a JSON array similar to the following:

[
  ...,
  {
    line: "line name",
    stopname: "stop name",
    stopnumber: 9999,
    time: 23:59,
    arrivaltime:  99
  },
  ...
]