andraz

andraz / LPPSchedules / 0.1.0

LPP Schedules

3 Credit Royalty
Schedules for Ljubljana public transport.
No Tags
Language
Python 3.x
Metrics
API Calls - 13 Avg call duration - N/A
Permissions
The Algorithm Platform License is the set of terms that are stated in the Software License section of the Algorithmia Application Developer and API License Agreement. It is intended to allow users to reserve as many rights as possible without limiting Algorithmia's ability to run it as a service. Learn More
This is necessary for algorithms that rely on external services, however it also implies that this algorithm is able to send your input data outside of the Algorithmia platform.

Run an Example

Input
Output
[
  {
    "buses": [
      {
        "line": "GAMELJNE - BAVARSKI DVOR",
        "line_from": "GAMELJNE",
        "line_number": "1N",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": false,
            "time": "23:36"
          },
          {
            "low_floor": false,
            "time": "00:15"
          }
        ],
        "times_simple": [
          "23:36",
          "00:15"
        ]
      },
      {
        "line": "MESTNI LOG - BAVARSKI DVOR - GAMELJNE",
        "line_from": "MESTNI LOG",
        "line_number": "1N",
        "line_to": "GAMELJNE",
        "times": [
          {
            "low_floor": false,
            "time": "22:27"
          },
          {
            "low_floor": false,
            "time": "22:57"
          }
        ],
        "times_simple": [
          "22:27",
          "22:57"
        ]
      },
      {
        "line": "BROD - BAVARSKI DVOR",
        "line_from": "BROD",
        "line_number": "1N",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": false,
            "time": "03:00"
          },
          {
            "low_floor": false,
            "time": "03:25"
          },
          {
            "low_floor": false,
            "time": "04:07"
          }
        ],
        "times_simple": [
          "03:00",
          "03:25",
          "04:07"
        ]
      },
      {
        "line": "BAVARSKI DVOR - VIŽMARJE",
        "line_from": "BAVARSKI DVOR",
        "line_number": "1N",
        "line_to": "VIŽMARJE",
        "times": [
          {
            "low_floor": false,
            "time": "04:50"
          }
        ],
        "times_simple": [
          "04:50"
        ]
      },
      {
        "line": "BAVARSKI DVOR - BROD",
        "line_from": "BAVARSKI DVOR",
        "line_number": "1N",
        "line_to": "BROD",
        "times": [
          {
            "low_floor": false,
            "time": "23:40"
          },
          {
            "low_floor": false,
            "time": "00:20"
          },
          {
            "low_floor": false,
            "time": "02:50"
          }
        ],
        "times_simple": [
          "23:40",
          "00:20",
          "02:50"
        ]
      },
      {
        "line": "ZELENA JAMA - NOVE JARŠE",
        "line_from": "ZELENA JAMA",
        "line_number": "2",
        "line_to": "NOVE JARŠE",
        "times": [
          {
            "low_floor": true,
            "time": "20:45"
          },
          {
            "low_floor": false,
            "time": "20:47"
          },
          {
            "low_floor": true,
            "time": "20:59"
          }
        ],
        "times_simple": [
          "20:45",
          "20:47",
          "20:59"
        ]
      },
      {
        "line": "ZELENA JAMA - GARAŽA",
        "line_from": "ZELENA JAMA",
        "line_number": "2",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "00:39"
          }
        ],
        "times_simple": [
          "00:39"
        ]
      },
      {
        "line": "LITOSTROJ - RUDNIK",
        "line_from": "LITOSTROJ",
        "line_number": "3",
        "line_to": "RUDNIK",
        "times": [
          {
            "low_floor": true,
            "time": "20:59"
          }
        ],
        "times_simple": [
          "20:59"
        ]
      },
      {
        "line": "ŠKOFLJICA - BAVARSKI DVOR",
        "line_from": "ŠKOFLJICA",
        "line_number": "3N",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": false,
            "time": "21:38"
          }
        ],
        "times_simple": [
          "21:38"
        ]
      },
      {
        "line": "RUDNIK - BAVARSKI DVOR",
        "line_from": "RUDNIK",
        "line_number": "3N",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": false,
            "time": "21:18"
          },
          {
            "low_floor": true,
            "time": "21:58"
          },
          {
            "low_floor": false,
            "time": "22:20"
          }
        ],
        "times_simple": [
          "21:18",
          "21:58",
          "22:20"
        ]
      },
      {
        "line": "BAVARSKI DVOR - ŠKOFLJICA",
        "line_from": "BAVARSKI DVOR",
        "line_number": "3N",
        "line_to": "ŠKOFLJICA",
        "times": [
          {
            "low_floor": false,
            "time": "21:20"
          },
          {
            "low_floor": false,
            "time": "04:50"
          }
        ],
        "times_simple": [
          "21:20",
          "04:50"
        ]
      },
      {
        "line": "BEŽIGRAD - GROSUPLJE",
        "line_from": "BEŽIGRAD",
        "line_number": "3G",
        "line_to": "GROSUPLJE",
        "times": [
          {
            "low_floor": false,
            "time": "20:46"
          },
          {
            "low_floor": false,
            "time": "21:36"
          },
          {
            "low_floor": false,
            "time": "22:36"
          }
        ],
        "times_simple": [
          "20:46",
          "21:36",
          "22:36"
        ]
      },
      {
        "line": "BAVARSKI DVOR - RUDNIK",
        "line_from": "BAVARSKI DVOR",
        "line_number": "3N",
        "line_to": "RUDNIK",
        "times": [
          {
            "low_floor": false,
            "time": "21:40"
          },
          {
            "low_floor": true,
            "time": "22:00"
          },
          {
            "low_floor": false,
            "time": "22:20"
          }
        ],
        "times_simple": [
          "21:40",
          "22:00",
          "22:20"
        ]
      },
      {
        "line": "ČRNUČE - GARAŽA",
        "line_from": "ČRNUČE",
        "line_number": "6",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "00:56"
          },
          {
            "low_floor": false,
            "time": "09:12"
          }
        ],
        "times_simple": [
          "00:56",
          "09:12"
        ]
      },
      {
        "line": "BEŽIGRAD - NOTRANJE GORICE",
        "line_from": "BEŽIGRAD",
        "line_number": "6B",
        "line_to": "NOTRANJE GORICE",
        "times": [
          {
            "low_floor": true,
            "time": "20:44"
          },
          {
            "low_floor": true,
            "time": "21:16"
          },
          {
            "low_floor": false,
            "time": "21:41"
          }
        ],
        "times_simple": [
          "20:44",
          "21:16",
          "21:41"
        ]
      },
      {
        "line": "ČRNUČE - DOLGI MOST P+R",
        "line_from": "ČRNUČE",
        "line_number": "6",
        "line_to": "DOLGI MOST P+R",
        "times": [
          {
            "low_floor": true,
            "time": "20:48"
          },
          {
            "low_floor": false,
            "time": "20:59"
          },
          {
            "low_floor": true,
            "time": "21:14"
          }
        ],
        "times_simple": [
          "20:48",
          "20:59",
          "21:14"
        ]
      },
      {
        "line": "LETALIŠKA - PRŽAN",
        "line_from": "LETALIŠKA",
        "line_number": "7L",
        "line_to": "PRŽAN",
        "times": [
          {
            "low_floor": false,
            "time": "22:02"
          },
          {
            "low_floor": false,
            "time": "22:29"
          },
          {
            "low_floor": false,
            "time": "06:06"
          }
        ],
        "times_simple": [
          "22:02",
          "22:29",
          "06:06"
        ]
      },
      {
        "line": "NOVE JARŠE - PRŽAN",
        "line_from": "NOVE JARŠE",
        "line_number": "7",
        "line_to": "PRŽAN",
        "times": [
          {
            "low_floor": false,
            "time": "20:45"
          },
          {
            "low_floor": false,
            "time": "21:00"
          },
          {
            "low_floor": true,
            "time": "21:19"
          }
        ],
        "times_simple": [
          "20:45",
          "21:00",
          "21:19"
        ]
      },
      {
        "line": "BRNČIČEVA - GAMELJNE",
        "line_from": "BRNČIČEVA",
        "line_number": "8",
        "line_to": "GAMELJNE",
        "times": [
          {
            "low_floor": true,
            "time": "20:49"
          },
          {
            "low_floor": false,
            "time": "21:05"
          },
          {
            "low_floor": false,
            "time": "21:24"
          }
        ],
        "times_simple": [
          "20:49",
          "21:05",
          "21:24"
        ]
      },
      {
        "line": "BRNČIČEVA - GARAŽA",
        "line_from": "BRNČIČEVA",
        "line_number": "8",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "22:27"
          },
          {
            "low_floor": true,
            "time": "22:43"
          }
        ],
        "times_simple": [
          "22:27",
          "22:43"
        ]
      },
      {
        "line": "ŠTEPANJSKO NAS. - GARAŽA",
        "line_from": "ŠTEPANJSKO NAS.",
        "line_number": "9",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "22:41"
          },
          {
            "low_floor": false,
            "time": "23:02"
          },
          {
            "low_floor": false,
            "time": "08:21"
          }
        ],
        "times_simple": [
          "22:41",
          "23:02",
          "08:21"
        ]
      },
      {
        "line": "ŠTEPANJSKO NAS. - BARJE P+R",
        "line_from": "ŠTEPANJSKO NAS.",
        "line_number": "9",
        "line_to": "BARJE P+R",
        "times": [
          {
            "low_floor": true,
            "time": "20:52"
          },
          {
            "low_floor": true,
            "time": "21:10"
          },
          {
            "low_floor": true,
            "time": "21:29"
          }
        ],
        "times_simple": [
          "20:52",
          "21:10",
          "21:29"
        ]
      },
      {
        "line": "JEŽICA P+R - ZALOG",
        "line_from": "JEŽICA P+R",
        "line_number": "11",
        "line_to": "ZALOG",
        "times": [
          {
            "low_floor": false,
            "time": "20:54"
          },
          {
            "low_floor": false,
            "time": "21:14"
          },
          {
            "low_floor": false,
            "time": "21:33"
          }
        ],
        "times_simple": [
          "20:54",
          "21:14",
          "21:33"
        ]
      },
      {
        "line": "JEŽICA P+R - GARAŽA",
        "line_from": "JEŽICA P+R",
        "line_number": "11",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "08:24"
          }
        ],
        "times_simple": [
          "08:24"
        ]
      },
      {
        "line": "BEŽIGRAD - ZALOG",
        "line_from": "BEŽIGRAD",
        "line_number": "11B",
        "line_to": "ZALOG",
        "times": [
          {
            "low_floor": true,
            "time": "21:54"
          },
          {
            "low_floor": true,
            "time": "22:14"
          },
          {
            "low_floor": false,
            "time": "22:34"
          }
        ],
        "times_simple": [
          "21:54",
          "22:14",
          "22:34"
        ]
      },
      {
        "line": "CENTER STOŽICE P+R - SOSTRO",
        "line_from": "CENTER STOŽICE P+R",
        "line_number": "13",
        "line_to": "SOSTRO",
        "times": [
          {
            "low_floor": false,
            "time": "20:51"
          },
          {
            "low_floor": true,
            "time": "21:19"
          },
          {
            "low_floor": false,
            "time": "21:55"
          }
        ],
        "times_simple": [
          "20:51",
          "21:19",
          "21:55"
        ]
      },
      {
        "line": "CENTER STOŽICE P+R - GARAŽA",
        "line_from": "CENTER STOŽICE P+R",
        "line_number": "13",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "09:14"
          }
        ],
        "times_simple": [
          "09:14"
        ]
      },
      {
        "line": "SAVLJE - BOKALCE",
        "line_from": "SAVLJE",
        "line_number": "14",
        "line_to": "BOKALCE",
        "times": [
          {
            "low_floor": false,
            "time": "20:42"
          },
          {
            "low_floor": false,
            "time": "21:00"
          },
          {
            "low_floor": false,
            "time": "21:20"
          }
        ],
        "times_simple": [
          "20:42",
          "21:00",
          "21:20"
        ]
      },
      {
        "line": "KOLODVOR - LITOSTROJSKA",
        "line_from": "KOLODVOR",
        "line_number": "18L",
        "line_to": "LITOSTROJSKA",
        "times": [
          {
            "low_floor": false,
            "time": "07:22"
          },
          {
            "low_floor": false,
            "time": "07:36"
          },
          {
            "low_floor": false,
            "time": "07:42"
          }
        ],
        "times_simple": [
          "07:22",
          "07:36",
          "07:42"
        ]
      },
      {
        "line": "KOLODVOR - CENTER STOŽICE P+R",
        "line_from": "KOLODVOR",
        "line_number": "18",
        "line_to": "CENTER STOŽICE P+R",
        "times": [
          {
            "low_floor": false,
            "time": "21:11"
          },
          {
            "low_floor": true,
            "time": "21:46"
          },
          {
            "low_floor": false,
            "time": "04:47"
          }
        ],
        "times_simple": [
          "21:11",
          "21:46",
          "04:47"
        ]
      },
      {
        "line": "TOMAČEVO - IŠKA VAS",
        "line_from": "TOMAČEVO",
        "line_number": "19I",
        "line_to": "IŠKA VAS",
        "times": [
          {
            "low_floor": false,
            "time": "20:51"
          },
          {
            "low_floor": false,
            "time": "21:39"
          },
          {
            "low_floor": true,
            "time": "22:24"
          }
        ],
        "times_simple": [
          "20:51",
          "21:39",
          "22:24"
        ]
      },
      {
        "line": "TOMAČEVO - JEZERO",
        "line_from": "TOMAČEVO",
        "line_number": "19B",
        "line_to": "JEZERO",
        "times": [
          {
            "low_floor": false,
            "time": "21:14"
          },
          {
            "low_floor": true,
            "time": "22:04"
          },
          {
            "low_floor": false,
            "time": "22:42"
          }
        ],
        "times_simple": [
          "21:14",
          "22:04",
          "22:42"
        ]
      },
      {
        "line": "TOMAČEVO - GARAŽA",
        "line_from": "TOMAČEVO",
        "line_number": "19I",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "08:08"
          },
          {
            "low_floor": false,
            "time": "08:28"
          },
          {
            "low_floor": false,
            "time": "08:53"
          }
        ],
        "times_simple": [
          "08:08",
          "08:28",
          "08:53"
        ]
      },
      {
        "line": "TOMAČEVO - IG AP",
        "line_from": "TOMAČEVO",
        "line_number": "19I",
        "line_to": "IG AP",
        "times": [
          {
            "low_floor": false,
            "time": "09:51"
          }
        ],
        "times_simple": [
          "09:51"
        ]
      },
      {
        "line": "NOVE STOŽICE P+R - FUŽINE P+R",
        "line_from": "NOVE STOŽICE P+R",
        "line_number": "20",
        "line_to": "FUŽINE P+R",
        "times": [
          {
            "low_floor": false,
            "time": "20:51"
          },
          {
            "low_floor": false,
            "time": "21:04"
          },
          {
            "low_floor": false,
            "time": "21:24"
          }
        ],
        "times_simple": [
          "20:51",
          "21:04",
          "21:24"
        ]
      },
      {
        "line": "ZADOBROVA - GARAŽA",
        "line_from": "ZADOBROVA",
        "line_number": "25",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "23:40"
          }
        ],
        "times_simple": [
          "23:40"
        ]
      },
      {
        "line": "ZADOBROVA - MEDVODE",
        "line_from": "ZADOBROVA",
        "line_number": "25",
        "line_to": "MEDVODE",
        "times": [
          {
            "low_floor": true,
            "time": "21:05"
          },
          {
            "low_floor": false,
            "time": "21:35"
          },
          {
            "low_floor": false,
            "time": "22:37"
          }
        ],
        "times_simple": [
          "21:05",
          "21:35",
          "22:37"
        ]
      },
      {
        "line": "LETALIŠKA - BTC - NS RUDNIK",
        "line_from": "LETALIŠKA",
        "line_number": "27",
        "line_to": "NS RUDNIK",
        "times": [
          {
            "low_floor": true,
            "time": "20:48"
          },
          {
            "low_floor": true,
            "time": "21:03"
          },
          {
            "low_floor": true,
            "time": "21:24"
          }
        ],
        "times_simple": [
          "20:48",
          "21:03",
          "21:24"
        ]
      },
      {
        "line": "LETALIŠKA - GARAŽA",
        "line_from": "LETALIŠKA",
        "line_number": "27",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "22:32"
          }
        ],
        "times_simple": [
          "22:32"
        ]
      },
      {
        "line": "LJUBLJANA-POLHOV GRADEC",
        "line_from": "LJUBLJANA",
        "line_number": "51",
        "line_to": "POLHOV GRADEC",
        "times": [
          {
            "low_floor": false,
            "time": "22:32"
          },
          {
            "low_floor": false,
            "time": "05:27"
          },
          {
            "low_floor": false,
            "time": "06:12"
          }
        ],
        "times_simple": [
          "22:32",
          "05:27",
          "06:12"
        ]
      },
      {
        "line": "LJUBLJANA-Polhov Gradec-ČRNI VRH",
        "line_from": "LJUBLJANA",
        "line_number": "51",
        "line_to": "ČRNI VRH",
        "times": [
          {
            "low_floor": false,
            "time": "20:47"
          },
          {
            "low_floor": false,
            "time": "10:07"
          },
          {
            "low_floor": false,
            "time": "14:22"
          }
        ],
        "times_simple": [
          "20:47",
          "10:07",
          "14:22"
        ]
      },
      {
        "line": "LJUBLJANA-ŠENTJOŠT",
        "line_from": "LJUBLJANA",
        "line_number": "56",
        "line_to": "ŠENTJOŠT",
        "times": [
          {
            "low_floor": false,
            "time": "22:27"
          },
          {
            "low_floor": false,
            "time": "05:32"
          },
          {
            "low_floor": false,
            "time": "06:22"
          }
        ],
        "times_simple": [
          "22:27",
          "05:32",
          "06:22"
        ]
      }
    ],
    "lines": [
      "1N",
      "2",
      "3",
      "3N",
      "3G",
      "6",
      "6B",
      "7L",
      "7",
      "8",
      "9",
      "11",
      "11B",
      "13",
      "14",
      "18L",
      "18",
      "19I",
      "19B",
      "20",
      "25",
      "27",
      "51",
      "56"
    ],
    "station": {
      "station_name": "BAVARSKI DVOR",
      "station_number": "600012",
      "to_center": false
    }
  },
  {
    "buses": [
      {
        "line": "NOVE JARŠE - ZELENA JAMA",
        "line_from": "NOVE JARŠE",
        "line_number": "2",
        "line_to": "ZELENA JAMA",
        "times": [
          {
            "low_floor": false,
            "time": "20:50"
          },
          {
            "low_floor": false,
            "time": "21:01"
          },
          {
            "low_floor": false,
            "time": "21:16"
          }
        ],
        "times_simple": [
          "20:50",
          "21:01",
          "21:16"
        ]
      },
      {
        "line": "NOVE JARŠE - GARAŽA",
        "line_from": "NOVE JARŠE",
        "line_number": "2",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "00:35"
          },
          {
            "low_floor": true,
            "time": "01:15"
          }
        ],
        "times_simple": [
          "00:35",
          "01:15"
        ]
      },
      {
        "line": "GROSUPLJE - BEŽIGRAD ",
        "line_from": "GROSUPLJE",
        "line_number": "3G",
        "line_to": "BEŽIGRAD",
        "times": [
          {
            "low_floor": false,
            "time": "21:18"
          },
          {
            "low_floor": false,
            "time": "22:26"
          },
          {
            "low_floor": false,
            "time": "23:30"
          }
        ],
        "times_simple": [
          "21:18",
          "22:26",
          "23:30"
        ]
      },
      {
        "line": "NOTRANJE GORICE - BEŽIGRAD",
        "line_from": "NOTRANJE GORICE",
        "line_number": "6B",
        "line_to": "BEŽIGRAD",
        "times": [
          {
            "low_floor": true,
            "time": "20:57"
          },
          {
            "low_floor": false,
            "time": "21:24"
          },
          {
            "low_floor": true,
            "time": "21:54"
          }
        ],
        "times_simple": [
          "20:57",
          "21:24",
          "21:54"
        ]
      },
      {
        "line": "DOLGI MOST P+R - GARAŽA",
        "line_from": "DOLGI MOST P+R",
        "line_number": "6",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "00:52"
          }
        ],
        "times_simple": [
          "00:52"
        ]
      },
      {
        "line": "NOTRANJE GORICE - GARAŽA",
        "line_from": "NOTRANJE GORICE",
        "line_number": "6B",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "22:40"
          },
          {
            "low_floor": true,
            "time": "23:09"
          },
          {
            "low_floor": true,
            "time": "23:37"
          }
        ],
        "times_simple": [
          "22:40",
          "23:09",
          "23:37"
        ]
      },
      {
        "line": "DOLGI MOST P+R - ČRNUČE",
        "line_from": "DOLGI MOST P+R",
        "line_number": "6",
        "line_to": "ČRNUČE",
        "times": [
          {
            "low_floor": true,
            "time": "20:45"
          },
          {
            "low_floor": false,
            "time": "21:00"
          },
          {
            "low_floor": true,
            "time": "21:15"
          }
        ],
        "times_simple": [
          "20:45",
          "21:00",
          "21:15"
        ]
      },
      {
        "line": "PRŽAN - NOVE JARŠE",
        "line_from": "PRŽAN",
        "line_number": "7",
        "line_to": "NOVE JARŠE",
        "times": [
          {
            "low_floor": false,
            "time": "20:46"
          },
          {
            "low_floor": false,
            "time": "20:59"
          },
          {
            "low_floor": true,
            "time": "22:05"
          }
        ],
        "times_simple": [
          "20:46",
          "20:59",
          "22:05"
        ]
      },
      {
        "line": "PRŽAN - LETALIŠKA",
        "line_from": "PRŽAN",
        "line_number": "7L",
        "line_to": "LETALIŠKA",
        "times": [
          {
            "low_floor": false,
            "time": "21:14"
          },
          {
            "low_floor": false,
            "time": "21:40"
          },
          {
            "low_floor": false,
            "time": "05:15"
          }
        ],
        "times_simple": [
          "21:14",
          "21:40",
          "05:15"
        ]
      },
      {
        "line": "GAMELJNE - BAVARSKI DVOR",
        "line_from": "GAMELJNE",
        "line_number": "8",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": false,
            "time": "22:25"
          }
        ],
        "times_simple": [
          "22:25"
        ]
      },
      {
        "line": "GAMELJNE - BRNČIČEVA",
        "line_from": "GAMELJNE",
        "line_number": "8",
        "line_to": "BRNČIČEVA",
        "times": [
          {
            "low_floor": false,
            "time": "20:42"
          },
          {
            "low_floor": true,
            "time": "21:06"
          },
          {
            "low_floor": false,
            "time": "21:20"
          }
        ],
        "times_simple": [
          "20:42",
          "21:06",
          "21:20"
        ]
      },
      {
        "line": "BARJE P+R - GARAŽA",
        "line_from": "BARJE P+R",
        "line_number": "9",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "22:34"
          },
          {
            "low_floor": true,
            "time": "22:54"
          },
          {
            "low_floor": false,
            "time": "09:16"
          }
        ],
        "times_simple": [
          "22:34",
          "22:54",
          "09:16"
        ]
      },
      {
        "line": "BARJE P+R - ŠTEPANJSKO NAS.",
        "line_from": "BARJE P+R",
        "line_number": "9",
        "line_to": "ŠTEPANJSKO NAS.",
        "times": [
          {
            "low_floor": false,
            "time": "20:52"
          },
          {
            "low_floor": false,
            "time": "21:10"
          },
          {
            "low_floor": true,
            "time": "21:29"
          }
        ],
        "times_simple": [
          "20:52",
          "21:10",
          "21:29"
        ]
      },
      {
        "line": "ZALOG - GARAŽA",
        "line_from": "ZALOG",
        "line_number": "11",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "21:10"
          },
          {
            "low_floor": true,
            "time": "23:01"
          },
          {
            "low_floor": false,
            "time": "01:25"
          }
        ],
        "times_simple": [
          "21:10",
          "23:01",
          "01:25"
        ]
      },
      {
        "line": "ZALOG - JEŽICA P+R",
        "line_from": "ZALOG",
        "line_number": "11",
        "line_to": "JEŽICA P+R",
        "times": [
          {
            "low_floor": true,
            "time": "20:38"
          },
          {
            "low_floor": false,
            "time": "21:05"
          },
          {
            "low_floor": true,
            "time": "00:58"
          }
        ],
        "times_simple": [
          "20:38",
          "21:05",
          "00:58"
        ]
      },
      {
        "line": "ZALOG - BEŽIGRAD",
        "line_from": "ZALOG",
        "line_number": "11B",
        "line_to": "BEŽIGRAD",
        "times": [
          {
            "low_floor": true,
            "time": "21:32"
          },
          {
            "low_floor": true,
            "time": "21:52"
          },
          {
            "low_floor": false,
            "time": "22:14"
          }
        ],
        "times_simple": [
          "21:32",
          "21:52",
          "22:14"
        ]
      },
      {
        "line": "SOSTRO - CENTER STOŽICE P+R",
        "line_from": "SOSTRO",
        "line_number": "13",
        "line_to": "CENTER STOŽICE P+R",
        "times": [
          {
            "low_floor": false,
            "time": "21:23"
          },
          {
            "low_floor": true,
            "time": "22:15"
          },
          {
            "low_floor": false,
            "time": "05:20"
          }
        ],
        "times_simple": [
          "21:23",
          "22:15",
          "05:20"
        ]
      },
      {
        "line": "SOSTRO - GARAŽA",
        "line_from": "SOSTRO",
        "line_number": "13",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "20:47"
          },
          {
            "low_floor": false,
            "time": "21:39"
          },
          {
            "low_floor": false,
            "time": "22:42"
          }
        ],
        "times_simple": [
          "20:47",
          "21:39",
          "22:42"
        ]
      },
      {
        "line": "BOKALCE - SAVLJE",
        "line_from": "BOKALCE",
        "line_number": "14",
        "line_to": "SAVLJE",
        "times": [
          {
            "low_floor": false,
            "time": "20:49"
          },
          {
            "low_floor": false,
            "time": "21:05"
          },
          {
            "low_floor": false,
            "time": "21:25"
          }
        ],
        "times_simple": [
          "20:49",
          "21:05",
          "21:25"
        ]
      },
      {
        "line": "BOKALCE - GARAŽA",
        "line_from": "BOKALCE",
        "line_number": "14",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "22:57"
          }
        ],
        "times_simple": [
          "22:57"
        ]
      },
      {
        "line": "LITOSTROJSKA - KOLODVOR",
        "line_from": "LITOSTROJSKA",
        "line_number": "18L",
        "line_to": "KOLODVOR",
        "times": [
          {
            "low_floor": false,
            "time": "08:05"
          },
          {
            "low_floor": false,
            "time": "08:23"
          },
          {
            "low_floor": false,
            "time": "08:32"
          }
        ],
        "times_simple": [
          "08:05",
          "08:23",
          "08:32"
        ]
      },
      {
        "line": "CENTER STOŽICE P+R - KOLODVOR",
        "line_from": "CENTER STOŽICE P+R",
        "line_number": "18",
        "line_to": "KOLODVOR",
        "times": [
          {
            "low_floor": false,
            "time": "20:56"
          },
          {
            "low_floor": true,
            "time": "21:35"
          },
          {
            "low_floor": false,
            "time": "05:40"
          }
        ],
        "times_simple": [
          "20:56",
          "21:35",
          "05:40"
        ]
      },
      {
        "line": "JEZERO - GARAŽA",
        "line_from": "JEZERO",
        "line_number": "19B",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "23:03"
          },
          {
            "low_floor": false,
            "time": "23:41"
          }
        ],
        "times_simple": [
          "23:03",
          "23:41"
        ]
      },
      {
        "line": "IŠKA VAS - GARAŽA",
        "line_from": "IŠKA VAS",
        "line_number": "19I",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "22:43"
          },
          {
            "low_floor": true,
            "time": "23:27"
          },
          {
            "low_floor": false,
            "time": "00:03"
          }
        ],
        "times_simple": [
          "22:43",
          "23:27",
          "00:03"
        ]
      },
      {
        "line": "IG AP - GARAŽA",
        "line_from": "IG AP",
        "line_number": "19I",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "08:22"
          }
        ],
        "times_simple": [
          "08:22"
        ]
      },
      {
        "line": "IŠKA VAS - TOMAČEVO",
        "line_from": "IŠKA VAS",
        "line_number": "19I",
        "line_to": "TOMAČEVO",
        "times": [
          {
            "low_floor": false,
            "time": "20:49"
          },
          {
            "low_floor": true,
            "time": "21:29"
          },
          {
            "low_floor": false,
            "time": "22:09"
          }
        ],
        "times_simple": [
          "20:49",
          "21:29",
          "22:09"
        ]
      },
      {
        "line": "JEZERO - TOMAČEVO",
        "line_from": "JEZERO",
        "line_number": "19B",
        "line_to": "TOMAČEVO",
        "times": [
          {
            "low_floor": false,
            "time": "21:04"
          },
          {
            "low_floor": true,
            "time": "21:50"
          },
          {
            "low_floor": false,
            "time": "22:32"
          }
        ],
        "times_simple": [
          "21:04",
          "21:50",
          "22:32"
        ]
      },
      {
        "line": "FUŽINE P+R - NOVE STOŽICE P+R",
        "line_from": "FUŽINE P+R",
        "line_number": "20",
        "line_to": "NOVE STOŽICE P+R",
        "times": [
          {
            "low_floor": false,
            "time": "20:38"
          },
          {
            "low_floor": false,
            "time": "20:46"
          },
          {
            "low_floor": false,
            "time": "20:59"
          }
        ],
        "times_simple": [
          "20:38",
          "20:46",
          "20:59"
        ]
      },
      {
        "line": "FUŽINE P+R - GARAŽA",
        "line_from": "FUŽINE P+R",
        "line_number": "20",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": false,
            "time": "23:03"
          }
        ],
        "times_simple": [
          "23:03"
        ]
      },
      {
        "line": "MEDVODE - ZADOBROVA",
        "line_from": "MEDVODE",
        "line_number": "25",
        "line_to": "ZADOBROVA",
        "times": [
          {
            "low_floor": false,
            "time": "21:00"
          },
          {
            "low_floor": false,
            "time": "21:36"
          },
          {
            "low_floor": false,
            "time": "22:48"
          }
        ],
        "times_simple": [
          "21:00",
          "21:36",
          "22:48"
        ]
      },
      {
        "line": "NS RUDNIK - BTC - LETALIŠKA",
        "line_from": "NS RUDNIK",
        "line_number": "27",
        "line_to": "LETALIŠKA",
        "times": [
          {
            "low_floor": true,
            "time": "20:57"
          },
          {
            "low_floor": false,
            "time": "21:22"
          },
          {
            "low_floor": true,
            "time": "21:50"
          }
        ],
        "times_simple": [
          "20:57",
          "21:22",
          "21:50"
        ]
      },
      {
        "line": "LETALIŠKA - BTC - BAVARSKI DVOR",
        "line_from": "LETALIŠKA",
        "line_number": "27B",
        "line_to": "BAVARSKI DVOR",
        "times": [
          {
            "low_floor": true,
            "time": "23:36"
          }
        ],
        "times_simple": [
          "23:36"
        ]
      },
      {
        "line": "BAVARSKI DVOR - BTC - LETALIŠKA",
        "line_from": "BAVARSKI DVOR",
        "line_number": "27B",
        "line_to": "LETALIŠKA",
        "times": [
          {
            "low_floor": true,
            "time": "23:40"
          }
        ],
        "times_simple": [
          "23:40"
        ]
      },
      {
        "line": "NS RUDNIK - GARAŽA",
        "line_from": "NS RUDNIK",
        "line_number": "27",
        "line_to": "GARAŽA",
        "times": [
          {
            "low_floor": true,
            "time": "22:02"
          },
          {
            "low_floor": false,
            "time": "22:52"
          }
        ],
        "times_simple": [
          "22:02",
          "22:52"
        ]
      },
      {
        "line": "POLHOV GRADEC-LJUBLJANA",
        "line_from": "POLHOV GRADEC",
        "line_number": "51",
        "line_to": "LJUBLJANA",
        "times": [
          {
            "low_floor": false,
            "time": "22:14"
          },
          {
            "low_floor": false,
            "time": "05:23"
          },
          {
            "low_floor": false,
            "time": "06:42"
          }
        ],
        "times_simple": [
          "22:14",
          "05:23",
          "06:42"
        ]
      },
      {
        "line": "ČRNI VRH-Polhov Gradec-LJUBLJANA",
        "line_from": "ČRNI VRH",
        "line_number": "51",
        "line_to": "LJUBLJANA",
        "times": [
          {
            "low_floor": false,
            "time": "21:43"
          },
          {
            "low_floor": false,
            "time": "06:09"
          },
          {
            "low_floor": false,
            "time": "07:20"
          }
        ],
        "times_simple": [
          "21:43",
          "06:09",
          "07:20"
        ]
      },
      {
        "line": "ŠENTJOŠT-LJUBLJANA",
        "line_from": "ŠENTJOŠT",
        "line_number": "56",
        "line_to": "LJUBLJANA",
        "times": [
          {
            "low_floor": false,
            "time": "22:04"
          },
          {
            "low_floor": false,
            "time": "05:15"
          },
          {
            "low_floor": false,
            "time": "06:22"
          }
        ],
        "times_simple": [
          "22:04",
          "05:15",
          "06:22"
        ]
      }
    ],
    "lines": [
      "2",
      "3G",
      "6B",
      "6",
      "7",
      "7L",
      "8",
      "9",
      "11",
      "11B",
      "13",
      "14",
      "18L",
      "18",
      "19B",
      "19I",
      "20",
      "25",
      "27",
      "27B",
      "51",
      "56"
    ],
    "station": {
      "station_name": "BAVARSKI DVOR",
      "station_number": "600011",
      "to_center": true
    }
  }
]

Install and Use

Install

Install the Algorithmia CLI client by running:

curl -sSLf https://algorithmia.com/install.sh | sh

Then authenticate by running:

$ algo auth
# When prompted for api endpoint, hit enter
# When prompted for API key, enter your key: YOUR_API_KEY
CLI Install Docs

Use



    algo run andraz/LPPSchedules/0.1.0 -d '"Bavarski dvor"' --timeout 300
  
CLI Docs