blob: 69651369b2a6722e41a238c50ff72f81d1ed03e1 [file] [log] [blame]
avm9996399bb77c2020-01-27 03:15:08 +01001<?php
2require_once(__DIR__."/../core.php");
3
4echo "[info] Getting gtfs.zip file...\n";
5$temp = tmpfile();
6tmbApi::request("static/datasets/gtfs.zip", $temp);
7
8echo "\n";
9
10gtfsHandler::createDatabase(stream_get_meta_data($temp)['uri']);