Commit Graph
1 Commits
Author SHA1 Message Date
dr c6b132df62 feat: add vote_rant and vote_comment methods with VoteReason enum to api client
Implement two new async methods for voting on rants and comments, accepting vote values of -1, 0, or 1 with an optional VoteReason enum (NOT_FOR_ME, REPOST, OFFENSIVE_SPAM). Both methods require authentication, construct POST requests to the respective endpoints with vote and reason parameters, and return the success boolean from the response. Also add the VoteReason enum and update the todo list by removing the completed voting comment item.
2024-12-03 21:25:03 +00:00