blob: 69651369b2a6722e41a238c50ff72f81d1ed03e1 [file] [log] [blame]
<?php
require_once(__DIR__."/../core.php");
echo "[info] Getting gtfs.zip file...\n";
$temp = tmpfile();
tmbApi::request("static/datasets/gtfs.zip", $temp);
echo "\n";
gtfsHandler::createDatabase(stream_get_meta_data($temp)['uri']);