TRANZY API [JSON] DATA FETCHER

AGENCY

[
  {
    "agency_id": 0,
    "agency_name": "string",
    "agency_timezone": "string",
    "agency_lang": "string",
    "agency_url": "string",
    "agency_urls": [
      "string"
    ]
  }
]

VEHICLES

[
  {
    "id": "1",
    "label": "1",
    "latitude": 47.0271633,
    "longitude": 28.8871366,
    "timestamp": "2023-03-06 18:48:45",
    "vehicle_type": 0,
    "bike_accessible": "BIKE_INACCESSIBLE",
    "wheelchair_accessible": "NO_VALUE",
    "speed": 0,
    "route_id": 0,
    "trip_id": "string"
  }
]

ROUTES

[
  {
    "route_id": 0,
    "agency_id": 0,
    "route_short_name": "string",
    "route_long_name": "string",
    "route_color": "string",
    "route_type": 0,
    "route_desc": "string"
  }
]

TRIPS

[
  {
    "direction_id": 0,
    "route_id": 0,
    "trip_id": "string",
    "trip_headsign": "string",
    "block_id": 0,
    "shape_id": 0,
    "wheelchair_accessible": 0,
    "bikes_allowed": 0
  }
]

SHAPES

[
  {
    "shape_id": "string",
    "shape_pt_lat": 0,
    "shape_pt_lon": 0,
    "shape_pt_sequence": 0,
    "shape_dist_traveled": 0
  }
]

STOPS

[
  {
    "stop_id": 0,
    "stop_name": "string",
    "stop_desc": "string",
    "stop_lat": 47.0271633,
    "stop_lon": 28.8871366,
    "location_type": 0,
    "stop_code": "string"
  }
]

STOP TIMES

[
  {
    "trip_id": "string",
    "arrival_time": "string",
    "departure_time": "string",
    "stop_id": 0,
    "stop_sequence": 0,
    "stop_headsign": "string",
    "pickup_type": 0,
    "drop_off_type": 0,
    "shape_dist_traveled": 0,
    "timepoint": 0
  }
]