Hi All
About 6 months ago I used the following short python script to get a list of all the serials in my organisation - this was then used as input to make some DNS changes on the devices - which worked great.
So 6 months down the line - I need to do the change again as part of a DC migration so I came back to my trusty scripts, however I'm finding that the syntax I used doesnt work anymore. I've updated the python meraki package, but it looks like the function itself has changed - I can't find any supporting documentation that suggests this however - so am at a bit of a loss. I'd appreciate any ideas on this one
Script sample:
import meraki
dashboard = meraki.DashboardAPI(api_key="************************************")
organization_id = '******'
result = dashboard.organizations.getOrganizationInventoryDevices.serial(organization_id)
print(result)
This when piped to a text file gave me a list of all my serials, now when I run it - I get the error:
AttributeError: 'function' object has no attribute 'serial'
Anyone know what's changed?
Thanks in advance
C