cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4455
Views
0
Helpful
3
Replies

Data doesn't match Dashboard API Documentation

Virgil Wilson
Level 2
Level 2

I'm trying to get data from the dashboard on devices. The data I'm getting in Python doesn't match the Dashboard API Documentation or in Postman. Any help would be greatly appreciated.

This is what I'm using and the output I'm getting.


url = "https://api.meraki.com/api/v0/organizations/#################/devices"

payload = {}
headers = {
'Accept': '*/*',
'X-Cisco-Meraki-API-Key': '###################################'
}

{
'address': '',
'configurationUpdatedAt': '2020-03-22T22:30:45Z',
'firmware': 'wired-15-10',
'lat': ,
'lng': ,
'mac': 'e0:cb:bc:24:a3:ef',
'model': 'MX65W',
'name': 'MX65W',
'networkId': 'L_64739244',
'notes': '',
'serial': '####-####-####',
'tags': '',
'url': '',
'wan1Ip': '8.8.8.8',
'wan2Ip': None
}

This is what I'm looking for

{
"name": "USMDHAG-2210-DSA02",
"serial": "XXXX-XXXX-XXXX",
"mac": "34:56:fe:ad:2d:f1",
"networkId": "L_64739",
"model": "MS120-8",
"address": "",
"lat": ,
"lng": ,
"notes": "SAFETY OFFICE",
"tags": "",
"lanIp": "10.132.10.20",
"configurationUpdatedAt": "2020-03-15T01:38:37Z",
"firmware": "switch-11-22",
"url": "https://n150.meraki.com/097"
},

1 Accepted Solution

Accepted Solutions

ww^
Meraki Community All-Star
Meraki Community All-Star

You do have a switch in the network ? Or only the mx65

View solution in original post

3 Replies 3

BrechtSchamp
Level 11
Level 11

If you share your code, I can take a look at it.

Edit out sensitive info of course.

ww^
Meraki Community All-Star
Meraki Community All-Star

You do have a switch in the network ? Or only the mx65

Thanks for answer. I realized that the MX doesn't have the same keys and switches do. Thanks.