Skip to content

About API

Костенков Даниил Дмитриевич edited this page Oct 12, 2023 · 2 revisions

API requests

Getting the list of stations

Getting a list of destinations

Getting a list of routes

  • request: POST

  • url: https://xn--c1aff6b0c.xn--p1ai/rasp/load_station.php

  • data:

    • 'route' - streetcar id
    • 'stn' - start station id
    • 'dstn' - final station id
    • 'dt'- current date ('date.month.year')
    • 'th_rasp' - current hours
    • 'tm_rasp' - current minute
    • 'timeint' - time interval
  • response: html code with streetcar id, route name, departure time and arrival time

Clone this wiki locally