I need a way to get all the device data at one time in python. Here is what I am using so far'
for k in dictData.items():
print(dictData['devices'][0]['device_id'][k]) #TypeError: string indices must be integers
print(dictData['devices'][1]['alias'][k])
I also tried this
print(dictData['devices'][1]['alias'][0:5])
No go.
Thanks in advance and apologies for the earlier confusion!