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.