Created
November 3, 2019 07:07
-
-
Save afaqk9394/6b5a6318edc78a3865c121bbd089be6e to your computer and use it in GitHub Desktop.
Obtain the List of Devices using Meraki API
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from meraki import meraki | |
| apikey = "448e00b44c40d9b3087b5b20f78cb7c12772ea37" | |
| myOrgs = meraki.myorgaccess(apikey) | |
| #print (myOrgs) | |
| orgid = "641762946900403561" | |
| myNetworks = meraki.getnetworklist(apikey, orgid) | |
| #print (myNetworks) | |
| networkid = "N_641762946900876741" | |
| deviceList = meraki.getnetworkdevices(apikey, networkid) | |
| print(deviceList) | |
| serialnum = "VRT-2207619790753" | |
| clientList = meraki.getclients(apikey,serialnum) | |
| #print (clientList) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment