tumblr / pytumblr

A Python Tumblr API v2 Client
Apache License 2.0
723 stars 196 forks source link

Implement optional timeouts and add check for rate limits on server side. #123

Open jwoodrich opened 5 years ago

jwoodrich commented 5 years ago

Added connect_timeout and read_timeout parameters which are passed into calls using requests library. Also added check for 429 status from server and an exception to indicate rate limits were met.

yahoocla commented 5 years ago

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile: