This takes the curl output of the Meraki API network list and re-formats it to a CSV file that's easier to read as a human.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
MerakiNetworkIDReformatScript.py
README.md
Sample Output.Meraki Network List.csv

README.md

This is for Python version 3.7.

Created by Nate Revello 2019 Jan 18

Meraki-API-Network-CSV-List

This takes the curl output of the Meraki API network list and re-formats it to a CSV file that's easier to read as a human.

Meraki API Docs:

  • API Docs: https://dashboard.meraki.com/api_docs
  • To get your org id; go to the API Docs link above > Organizations > List the organizations that the user has privileges on.
  • To see the specific entry on the curl command for the Network list; go to the API Docs link above > network > List the networks in an organization.

Example Curl Command:

Here's an example of the curl command for a windows machine (Fill out your org ID and API key):

To run this script on a windows box:

  1. Save the Network List curl output to a file named "Network list.txt" in the same directory as the script. The output will be a single line.
  2. Open a CMD prompt.
  3. cd to the directory of the script.
  4. Verify the curl output is saved as "Network list.txt"
  5. Run 'py MerakiNetworkIDReformatScript.py' in the cmd prompt.

After the script runs, you'll have a csv file created in the same directory as the script. It can then be opened in your spreadsheet software.