turnage / graw

Golang Reddit API Wrapper
MIT License
288 stars 50 forks source link

Update post flair #69

Open gastrodon opened 4 years ago

gastrodon commented 4 years ago

Does this library have a way of modifying the flair of an existing post? I can't see anything in the code that would suggest as much with a peruse, though I wanted to find out if it was possible

turnage commented 4 years ago

There is no flair support in the API.

On Tue, Mar 17, 2020 at 8:43 PM Zero notifications@github.com wrote:

Does this library have a way of modifying the flair of an existing post? I can't see anything in the code that would suggest as much with a peruse, though I wanted to find out if it was possible

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/turnage/graw/issues/69, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWR64EEDEQR7BJCGM4LKUDRIA7NFANCNFSM4LOEJJFA .

gastrodon commented 4 years ago

In the Reddit API, or this wrapper? I know that some other Reddit clients like Boost that use the api support flair adding, so there must be some way to do that

turnage commented 4 years ago

The Reddit API supports it iirc, this does not.

Adding support for more calls is relatively simple: an interface needs to be named to contain them, and the values need to be read/written through JSON with Reddit.

Pull requests welcome.

On Wed, Mar 18, 2020 at 7:52 AM Zero notifications@github.com wrote:

In the Reddit API, or this wrapper? I know that some other Reddit clients like Boost that use the api support flair adding, so there must be some way to do that

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/turnage/graw/issues/69#issuecomment-600668230, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWR64CLZZEALXNSJRKO6TLRIDNZZANCNFSM4LOEJJFA .

gastrodon commented 4 years ago

Certainly, I'll get started on this when I have a minuted. I wanted to make sure that nobody else had already done it before I did