This commit is contained in:
i 2026-02-05 15:18:19 +01:00
parent 0c86901ab5
commit 78e7937c0d
3 changed files with 54534 additions and 0 deletions

9
resource_id_helper.py Normal file
View 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'>