Skip to content
This repository has been archived by the owner on Oct 4, 2023. It is now read-only.

Add parameter reason for method report_gallery_item #49

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ueg1990
Copy link
Contributor

@ueg1990 ueg1990 commented Oct 22, 2015

Currently the method report_gallery_item is not reporting post even though output returned is True. Two issues that could have caused this:

  1. Imgur is currently not allowing reporting of posts via the API
  2. Method define in imgurpython/client.py is outdated as the API documentation (https://api.imgur.com/endpoints/gallery#gallery-reporting) has defined a parameter reason.
    I added the 'reason' parameter as part of this pull request. But even with the changes, the reporting of a gallery item does not work.
  3. In the API documentation, the parameter 'reason' is defined as optional while in the imugr web app, when you try to report a post, it asks you to select a reason which means it is mandatory. There is discrepancy there too

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant