Jul-22-2018, 10:26 AM
def get_all_aps(self): result = self.session.get(self.api_get_ap_list) print result #print result[list] totalcount = result["totalCount"] print totalcountso when i run this, it nicely prints the totalcount from this result output
{u'firstIndex': 0, u'totalCount': 3189, u'list': [{u'name': u'PSK-AP325', u'mac': u'AA:AA:AA:AA:8E:70', u'serial': u'131424000'}]}
what do i need to do to get each item in the list part.
So I want to get the value of PSK-AP325 and 131424000 from the result output.
Any ideas?
Mamoman