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
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?

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.

mlefebvre
Getting noticed

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.
Welcome to the Meraki Community!
To start contributing, simply sign in with your Cisco account. If you don't yet have a Cisco account, you can sign up.