Skip to content

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.

License

Notifications You must be signed in to change notification settings

oldnotebook/Meraki-API-Network-CSV-List

Repository files navigation

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.

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages