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

Commit 4c1b96a

Browse files
authored
Merge pull request #12 from paul0x1C/master
fix urls
2 parents 05e6d3d + 9a3d214 commit 4c1b96a

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

mvg_api/__init__.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@
66
from time import mktime
77

88
api_key = "5af1beca494712ed38d313714d4caff6"
9-
query_url_name = "https://www.mvg.de/fahrinfo/api/location/queryWeb?q={name}" #for station names
10-
query_url_id = "https://www.mvg.de/fahrinfo/api/location/query?q={id}" #for station ids
11-
departure_url = "https://www.mvg.de/fahrinfo/api/departure/{id}?footway=0"
12-
nearby_url = "https://www.mvg.de/fahrinfo/api/location/nearby?latitude={lat}&longitude={lon}"
13-
routing_url = "https://www.mvg.de/fahrinfo/api/routing/?"
9+
query_url_name = "https://www.mvg.de/api/fahrinfo/location/queryWeb?q={name}" #for station names
10+
query_url_id = "https://www.mvg.de/api/fahrinfo/location/query?q={id}" #for station ids
11+
departure_url = "https://www.mvg.de/api/fahrinfo/departure/{id}?footway=0"
12+
nearby_url = "https://www.mvg.de/api/fahrinfo/location/nearby?latitude={lat}&longitude={lon}"
13+
routing_url = "https://www.mvg.de/api/fahrinfo/routing/?"
1414
interruptions_url = "https://www.mvg.de/.rest/betriebsaenderungen/api/interruptions"
1515

1616

0 commit comments

Comments
 (0)