Figure 8-9 Viewing Client Health in Cisco DNA
Center
Example 8-6 List of Clients and Their Status
Click here to view code image
{
"response" : [ {
"siteId" : "global",
"scoreDetail" : [ {
"scoreCategory" : {
"scoreCategory" : "CLIENT_TYPE",
"value" : "ALL"
},
"scoreValue" : 27,
"clientCount" : 82,
"clientUniqueCount" : 82,
"starttime" : 1566506189000,
"endtime" : 1566506489000,
"scoreList" : [ ]
}, ... output omitted
}
So far in this section, you’ve explored the Cisco DNA
Center platform API and seen how to authorize the API
calls and obtain a token, how to get a list of all the
devices in the network, and how to get health statistics
for all the clients in the network using both curl and
Postman. Next let’s explore the Cisco DNA Center
Python SDK. The SDK has been developed for Python 3
and maps all the Cisco DNA Center APIs into Python