Skip to content
This repository was archived by the owner on Jun 29, 2023. It is now read-only.

Commit b417975

Browse files
committed
set offset to 0 for getting lines
1 parent c15ac22 commit b417975

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mvg_api/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -392,7 +392,7 @@ def get_lines(station_id):
392392
raise TypeError("Please give the int station_id of the station.\
393393
You can find it out by running \
394394
get_id_for_station('Station name')")
395-
url = departure_url.format(id=station_id)
395+
url = departure_url.format(id=station_id, offset=0)
396396
return _perform_api_request(url)['servingLines']
397397

398398

0 commit comments

Comments
 (0)