Get org wide client list via python

Mark3l
New here

Get org wide client list via python

Hi All,

 

I am trying to get an org wide client list exported to my local drive via the example python script found on https://github.com/meraki/dashboard-api-python/tree/master/examples - org_wide_clients_v1.py

 

The issue is im getting a 429 Too Many Requests error,

Mark3l_0-1649828880226.png

 

i saw there is an article regarding this on https://developer.cisco.com/meraki/api-v1/#!rate-limit but i am completely inexperienced with python so I am not sure how to incorporate this into the script.

 

Any help would be appreciated thanks!

2 Replies 2
alemabrahao
Kind of a big deal
Kind of a big deal

@Mark3l , maybe It can be helpful:  https://github.com/meraki/automation-scripts/blob/master/orgclientscsv.py

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.
PhilipDAth
Kind of a big deal
Kind of a big deal

Try using the AIO version.  I know it uses a rate limiter and retries on 429s automatically.

https://github.com/meraki/dashboard-api-python/blob/master/examples/aio_org_wide_clients_v1.py 

Get notified when there are additional replies to this discussion.