DashboardAPI Error

Solved
dbarr_pxo
Here to help

DashboardAPI Error

Hello everyone,

 

with python i try:

>>> import meraki
>>> API = ********
>>>dashboard = meraki.DashboardAPI(API)

 

but raises an exception:
AttributeError: module 'meraki' has no attribute 'DashboardAPI'


I have the latest version 1.39.0

What I am doing wrong?

Thanks.

1 Accepted Solution

Maybe it will help you.

 

https://community.meraki.com/t5/Developers-APIs/Meraki-API-No-Attributes/m-p/151439

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

View solution in original post

5 Replies 5
alemabrahao
Kind of a big deal
Kind of a big deal

This attribute does not exist, what information do you want to extract from the Dashboard exactly?

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.

If doens't exist, according to docs, how I will be able to have a response from as an example:

 

response = dashboard.organizations.getOrganizations()

 

 if:

dashboard = meraki.DashboardAPI(API_KEY)

 

raises an exception:
AttributeError: module 'meraki' has no attribute 'DashboardAPI'

Thanks.

Maybe it will help you.

 

https://community.meraki.com/t5/Developers-APIs/Meraki-API-No-Attributes/m-p/151439

I am not a Cisco Meraki employee. My suggestions are based on documentation of Meraki best practices and day-to-day experience.

Please, if this post was useful, leave your kudos and mark it as solved.
mlefebvre
Building a reputation

after you do 

 

>>> import meraki

 

what is the output of

 

>>> dir(meraki)

 

and 

 

>>> meraki.__version__

 

?

PhilipDAth
Kind of a big deal
Kind of a big deal

Follow this usage guide from the Meraki developer portal.

https://developer.cisco.com/meraki/api-v1/python/#usage 

Get notified when there are additional replies to this discussion.