cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3640
Views
0
Helpful
5
Replies

DashboardAPI Error

diogopxo
Level 1
Level 1

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

Accepted Solutions

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Maybe it will help you.

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

I am not a Cisco 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

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

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

I am not a Cisco 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.

aleabrahao
Meraki Community All-Star
Meraki Community All-Star

Maybe it will help you.

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

I am not a Cisco 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.

matt_uc
Level 6
Level 6

after you do

>>> import meraki

what is the output of

>>> dir(meraki)

and

>>> meraki.__version__

?

Philip D'Ath
Meraki Community All-Star
Meraki Community All-Star

Follow this usage guide from the Meraki developer portal.

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