Python API Rate Limit

Solved
G_ControlScan
Here to help

Python API Rate Limit

To All,

 

I've created a Python 3.6.1 script which reads all the networks in an org and dumps the network details to a csv file.  My issues is, what is the Python 3.6.1 syntax to rate limit the requests to meet Meraki's 5 calls per sec limitation?

 

The script works, it just fails after while due to to many requests.

 

Thanks for input.

1 Accepted Solution
PhilipDAth
Kind of a big deal
Kind of a big deal

2 Replies 2
PhilipDAth
Kind of a big deal
Kind of a big deal

time.sleep(0.2)

Thanks for the assistance.
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.