Skip to content

Releases: Damgaard/PyImgur

0.8.1

20 Apr 17:26

Choose a tag to compare

Release Notes

Small improvement on fetching comments. Adds support for sorting and pagination to the get_comments method on the objects User, Gallery_album and Gallery_image.

Full changelog notes

  • [FEATURE] Method get_comments on User now supports sorting and pagination.
  • [FEATURE] Method get_comments on Gallery_album and Gallery_image now supports sorting and pagination.

0.8.0

02 Apr 07:58

Choose a tag to compare

Release Notes

Version 0.8 adds several ease of use features that makes working with PyImgur simpler and more resilliant to errors from Imgur. In addition it alsso fixes with incompatible changes from Imgur and adds a bit more functionality.

In more depth.

  • [FEATURE] Add exponential backoff logic with jitter to requests that fail on issues, which PyImgur believes are transient issues. Backoff starts at 2 seconds.
  • [FEATURE] PyImgur now attempts to gracefully handle exceptions coming from expired / invalid access tokens by attempting to refresh the access token, then retrying the request.
  • [FEATURE] It is no longer neccessary to call get_refresh_token() to get a new access token at the start of a program run. PyImgur will now automatically get a fresh access token if none was set at initialization and a refresh token was set. As such the "access_token" parameter on Imgur remains mostly for optimization reasons as it allows reusing same key in paralization of tasks.
  • [FEATURE] Add method get_votes on Gallery_image and Gallery_album, to get the upvotes and downvotes.
  • [FEATURE] Update search_gallery to support advanced querying, sort on time/viral, limit on time window and add pagination.
  • [IMGUR] Fix downloading of images by handling the backwards incompatible changes, Imgur has made on how to fetch images.