fedragon / readwise-s3

Backup Readwise.io content to AWS S3
3 stars 0 forks source link

Deal with Readwise API rate limits #4

Closed fedragon closed 3 years ago

fedragon commented 3 years ago

According to the documentation:

The default base rate is 240 requests per minute but the Highlight LIST and Book LIST endpoints are restricted to 20 per minute. You can check Retry-After header in the 429 response to get the amount of seconds to wait for.

Make the client aware and capable of dealing with the rate limits.

fedragon commented 3 years ago

Addressed in #6