Export AP Locations

KCraig87
New here

Export AP Locations

Anyone know if it possible to Export Access Points and have its location information contained within the report? Lat/Longitute or Address  information would be sufficient. 

 

So far I have exported from "Wireless -> Access Points" and "Organization -> Inventory". However neither report contains the location of the AP.

 

Thanks

3 Replies 3
PhilipDAth
Kind of a big deal
Kind of a big deal

You would need to write a script and use the Dashboard API.

 

 

The function you need is:

HTTP REQUEST

GET /networks/[networkId]/devices

PARAMETERS

    None

SAMPLE REQUEST

curl -L -H 'X-Cisco-Meraki-API-Key: <key>' -X GET -H 'Content-Type: application/json' 'https://dashboard.meraki.com/api/v0/networks/[networkId]/devices'

SAMPLE RESPONSE

Successful HTTP Status: 200

[
  {
    "name":"My AP",
    "lat":37.4180951010362,
    "lng":-122.098531723022,
    "serial":"Q2XX-XXXX-XXXX",
    "mac":"00:11:22:33:44:55:66",
    "model":"MR34",
    "address":"1600 Pennsylvania Ave",
    "lanIp":"1.2.3.4"
    "tags":" recently-added ",
    "networkId":"N_1234",
    "beaconIdParams": {
      "uuid": "00000000-0000-0000-0000-000000000000",
      "major": 5,
      "minor": 3,
    }
  }
]
KCraig87
New here

Nevermind, figured it out. Native XML report provide Lat/Long information. But turning on the API and getting the Google Earth KML file fit my needs perfectly. 

 

Noriko
Just browsing

Related to this case, please tell me how to get AP MAP of dashboard with a device name of PC user by using API.

Get notified when there are additional replies to this discussion.