cancel
Showing results for 
Search instead for 
Did you mean: 

Export AP Locations

Highlighted
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

2 REPLIES
Head in the Cloud

Re: Export AP Locations

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,
    }
  }
]
New here

Re: Export AP Locations

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.