Bluetooth Dashboard API Method

csullmeraki
Here to help

Bluetooth Dashboard API Method

Hey all!

 

I am having a bit of trouble accessing the bluetooth settings using the dashboard API. Here is the code:

 


def getBluetoothSettings(network_id):
     response = dashboard.bluetooth_settings.getNetworkBluetoothSettings(network_id)

      print(response)

 

When this runs I get "DashboardAPI has no object or attribute bluetooth_settings"

 

Any ideas?

2 REPLIES 2
sungod
Head in the Cloud

Which API are you using?

 

https://github.com/meraki/dashboard-api-python

 

If you're on V0, at a guess try BluetoothSettings instead of bluetooth_settings

 

tbh I haven't used V0 much, I switched to using the V1 beta for everything, I've found it stable/reliable the last few point releases

 

I am using v0 but also got the same error:

 

AttributeError: 'DashboardAPI' object has no attribute 'BluetoothSettings'

 

 

 

 

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.