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

Commit d078640

Browse files
committed
remove api key as it is not checked anymore
1 parent 9bf19dc commit d078640

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mvg_api/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import datetime
55
from time import mktime
66

7-
api_key = "5af1beca494712ed38d313714d4caff6"
87
query_url_name = "https://www.mvg.de/api/fahrinfo/location/queryWeb?q={name}" # for station names
98
query_url_id = "https://www.mvg.de/api/fahrinfo/location/query?q={id}" # for station ids
109
departure_url = "https://www.mvg.de/api/fahrinfo/departure/{id}?footway=0"
@@ -56,7 +55,6 @@ def _perform_api_request(url):
5655
resp = requests.get(
5756
url,
5857
headers={
59-
'X-MVG-Authorization-Key': api_key,
6058
'User-Agent': 'python-mvg-api/1 (+https://github.com/leftshift/python_mvg_api)',
6159
'Accept': 'application/json'
6260
}

0 commit comments

Comments
 (0)