Skip to content

Commit

Permalink
add datahub
Browse files Browse the repository at this point in the history
  • Loading branch information
paulhollmann committed Dec 9, 2023
1 parent fef37dd commit a3bde70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datahub.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public static function get_weekly_data(string $key): array

public static function get_stations_data(string $key, bool $min_station_only): array
{
$url = 'https://github.com/VATGER-Nav/datahub/blob/main/legacy/schedule.json';
$url = 'https://raw.githubusercontent.com/VATGER-Nav/datahub/main/legacy/schedule.json';
$data = self::get_json($url, 'datahub-legacy-schedule.json');
$result = [];
foreach ($data as $element) {
Expand Down

0 comments on commit a3bde70

Please sign in to comment.