File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -83,6 +83,18 @@ With ciscosparkapi, the above Python code can be consolidated to the following:
83
83
from Spark, requests for additional pages of responses are efficiently and
84
84
automatically requested as needed
85
85
86
+ + **Automatic Rate-Limit Handling ** Sending a lot of requests to Cisco Spark?
87
+ Don't worry; we have you covered. Spark will respond with a rate-limit
88
+ response, which will automatically be caught and "handled" for you. Your
89
+ requests and script will automatically be "paused" for the amount of time
90
+ specified by Spark, while we wait for the Spark rate-limit timer to cool
91
+ down. After the cool-down, your request will automatically be retried, and
92
+ your script will continue to run as normal. Handling all of this requires
93
+ zero (0) changes to your code - you're welcome. 😎
94
+
95
+ Just know that if you are are sending a lot of requests, your script might
96
+ take longer to run if your requests are getting rate limited.
97
+
86
98
+ Multipart encoding and uploading of local files, when creating messages with
87
99
local file attachments
88
100
You can’t perform that action at this time.
0 commit comments