cancel
Showing results for 
Search instead for 
Did you mean: 

Python API Rate Limit

SOLVED
Highlighted
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.

2 REPLIES
Kind of a big deal

Re: Python API Rate Limit

time.sleep(0.2)

Here to help

Re: Python API Rate Limit

Thanks for the assistance.