Removed litter
This commit is contained in:
parent
a13027614e
commit
07925d15eb
@ -31,5 +31,4 @@ from . import enums
|
||||
from . import errors
|
||||
from . import utility
|
||||
from .classes import *
|
||||
from .classes.Client import Client
|
||||
# from .methods import *
|
||||
from .classes.Client import Client
|
@ -93,10 +93,6 @@ def board_arrival(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/arrivalBoard", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -94,10 +94,6 @@ def board_departure(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/departureBoard", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -132,10 +132,6 @@ def him_search(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/himsearch", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -66,10 +66,6 @@ def journey_detail(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/journeyDetail", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -66,10 +66,6 @@ def stop_by_coords(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/location.nearbystops", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -80,10 +80,6 @@ def stop_by_name(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/location.name", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -248,10 +248,6 @@ def trip_find(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/trip", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
@ -102,10 +102,6 @@ def trip_recon(accessId: str,
|
||||
|
||||
output = get("https://www.rmv.de/hapi/recon", params=payload, headers=headers)
|
||||
|
||||
# Exceptions checker moved to normal methods
|
||||
# and exceptions will no longer raise in raw ones.
|
||||
# find_exception(output.json())
|
||||
|
||||
if json:
|
||||
return output.json()
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user