Please, don't start new threads unnecessarily. Why do you say you got no helping answer?
@DeaD_EyE answer is waht you want. What is that you don't like about it.
You have list of dicts. You access elements in the list by index.
@DeaD_EyE answer is waht you want. What is that you don't like about it.
You have list of dicts. You access elements in the list by index.
data = [{u'address': {u'altitude': None, u'area': u'', u'buildingNumber': None, u'country': None, u'latitude': None, u'longitude': None, u'street': u'', u'zip': u''}, u'id': 123456, u'levelOfAccess': None, u'name': u'Schuppen', u'siteKey': u'YBCL-HXXX'}] spam = data[0][u'siteKey'] # access element at index 0 and get value for key print(spam)if you have more than one item in the list, you may have to iterate over items in the list.
for item in data: spam = item[u'siteKey'] print(spam)
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs