mirror of
https://github.com/aljazceru/python-teos.git
synced 2026-01-07 00:14:29 +01:00
Pretty-JSON the get_appointment call
This commit is contained in:
@@ -93,7 +93,7 @@ def get_appointment(args):
|
||||
try:
|
||||
r = requests.get(url=get_appointment_endpoint+parameters, timeout=5)
|
||||
|
||||
print(json.dumps(r.text))
|
||||
print(json.dumps(r.json(), indent=4, sort_keys=True))
|
||||
|
||||
except ConnectTimeout:
|
||||
if debug:
|
||||
|
||||
Reference in New Issue
Block a user