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"
},