Closed webtweakers closed 4 years ago
Thanks. Please provide unit tests.
Fair enough. Added two unit tests that proof that the request function can be changed and that it's used by tmdbsimple.
Any progress?
Great news! Rate limiting of The Movie Database API has been disabled as of December 16, 2019.
Closing this merge request.
With this pull request, using a rate-limiter, eg. RespectfulRequester, becomes as simple as defining the inner request method, like so:
And in the module where tmdbsimple is used:
And voila: a rate-limited version of tmdbsimple!