meraki / automation-scripts

MIT License
391 stars 198 forks source link

added bssid fetch #31

Closed wifijanitor closed 2 years ago

wifijanitor commented 2 years ago

script to pull the bssid from dashboard

wifijanitor commented 2 years ago

is it ok if I leave the API_KEY in there, but change it to os.getenv()?

TKIPisalegacycipher commented 2 years ago

It's not necessary because that happens automatically as a feature of our Python library.

dashboard = meraki.DashboardAPI()

will work as-is as long as the variable is set in the environment. Did you need it for some other reason?

wifijanitor commented 2 years ago

no, just how I was used to working with it.

removed the API_KEY references, and it works just checking the env var