d
This commit is contained in:
parent
0c86901ab5
commit
78e7937c0d
3 changed files with 54534 additions and 0 deletions
|
|
@ -10,6 +10,11 @@ SERVICE_ID = "601"
|
|||
RESOURCE_ID =15502 #17 best
|
||||
#RESOURCE_ID =15883 #66 second best
|
||||
#RESOURCE_ID =16264
|
||||
# RESOURCE_ID = None # "5957" # Will be set dynamically if None, else use the given ID
|
||||
# INFO: resource ID is seat
|
||||
# RESOURCE_ID =15994 # 91 height adjustable desk
|
||||
# RESOURCE_ID =16402 # 222 study room
|
||||
RESOURCE_ID =15502 # 17 cool snipe with view
|
||||
TIMEZONE = "Europe/Berlin"
|
||||
# SSO_PROVIDER = "kit" # Available: kit (add more in auth/providers/)
|
||||
SSO_PROVIDER = "tum" # Available: kit (add more in auth/providers/)
|
||||
|
|
|
|||
9
resource_id_helper.py
Normal file
9
resource_id_helper.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
import json
|
||||
|
||||
with open("nice.json", "r", encoding="utf-8") as f:
|
||||
data = json.load(f)
|
||||
|
||||
for i in data["data"]:
|
||||
print ("%-32s id: %s" % (i["attributes"]["name"], i["id"]))
|
||||
print(type(data)) # usually <class 'dict'>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue