Rate Limiting API During Development

Does the community or Wrike have any recommendations when working with the API. I've noticed there are some API restrictions (seems to be on both on responses and number of requests) per call or per minute.

I have a timeout set to 60 seconds when i'm completed, but during development, is there a way where we don't have to hit those restrictions and we can just get a sub-set of data back?

Otherwise, any other best practices when developing would be quiet helpful.

ps. I'm working out flattening Wrike data to a single doc for each timelog entry, making it easy for CSV and importing it into excel

0
3 comentários
Spot On Innovative Approach Stellar Advice
Avatar

PPS - I know Wrike has an export to CSV on a number of their screens (table, timelog, reports, etc.), but none of those screens give me the data I'm looking for, which is the reason for the API work.

Here are the fields I've gathered:

"timelog_id",
"timelog_hours_logged",
"timelog_tracked_date",
"timelog_comment",
"timelog_created_date",
"timelog_updated_date",
"timelog_api_count",
"task_id",
"task_title",
"task_description",
"task_created_date",
"task_updated_date",
"task_permalink",
"task_status",
"client_folder_id",
"client_folder_name",
"meta_Client",
"meta_Sprint",
"meta_Max_Effort",
"user_id",
"user_name"

0
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar
Stephen

Hi Tim, there is a limit of 100 requests per minute per single IP.

It is in place to prevent server overload and ensure the trouble-free performance of Wrike for everyone - this is the reason why we do not raise the limit.

If your application encounters an error due to this limit, simply apply a short cool-down period before the next API request and this will help to stop these errors. 


You can make about 100 calls, then wait 1 or 2 seconds before you can make another 100. In essence, with exponential cool-down time, you can ensure that your app makes as many calls as possible. 

Any questions, let me know 👍

1
Ações de comentário Permalink
Spot On Innovative Approach Stellar Advice
Avatar

Thanks Stephen!

0
Ações de comentário Permalink

Folllowing List for Post: Rate Limiting API During Development
[this list is visible for admins and agents only]

Didn’t find what you were looking for? Write new post