kerolloz / codeforces-api-ts

Codeforces-API-TS is a NodeJS Client Library for Codeforces API with Typescript support
MIT License
5 stars 0 forks source link

[Feature Request] Add a builtin rate limiter #4

Open Zxilly opened 6 months ago

Zxilly commented 6 months ago

As described in the API document

API may be requested at most 1 time per two seconds

Can the sdk also add a builtin rate limiter for this?

kerolloz commented 5 months ago

@Zxilly That's a great idea. I'll try to work on it when I have some time.