Skip to content

Instantly share code, notes, and snippets.

@afaqk9394
Created November 3, 2019 07:32
Show Gist options
  • Select an option

  • Save afaqk9394/f7ce4500d024752c99e8d7108e0064f5 to your computer and use it in GitHub Desktop.

Select an option

Save afaqk9394/f7ce4500d024752c99e8d7108e0064f5 to your computer and use it in GitHub Desktop.
Meraki’s API library/module to gather inventory
from meraki import meraki
import pprint
api_key = 'e1cf05af36ef9fccf579a556537112fe66a60549'
org_id = '641762946900403561'
#New Network Details
myinventory = meraki.getorginventory(api_key, org_id)
pprint.pprint (myinventory, indent=4)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment