disqus-python icon indicating copy to clipboard operation
disqus-python copied to clipboard

Add some missing interfaces; alter handling of missing `public_key`

Open strix-technica opened this issue 11 years ago • 2 comments

Add three endpoints missing from interfaces.json added (posts.update, forums.addModerator and forums.removeModerator);

Somewhat cosmetic change: Some API calls (notably posts.create with certain args like ip_address) will not work as expected if both public_key and secret_key are passed, so alter the check in disqusapi.DisqusAPI.__init__() so that it doesn't complain when only secret key is provided.

strix-technica avatar Aug 30 '14 19:08 strix-technica

@strix-technica Seems that you've broken tests. :)

mattrobenolt avatar Aug 30 '14 21:08 mattrobenolt

Well, that was embarrassing. I've fixed it, tested it with Travis on my own fork, and it appears to be good. (And if I read this right, that fix automatically got included in the pull request and Travis has already run and passed it).

strix-technica avatar Sep 03 '14 16:09 strix-technica