Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions api/reactions/reactions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
from core.rest_client import RestClient


class Reactions(RestClient):

def list_reactions_for_a_commit_comment(self, owner, repo, comment_id, **kwargs):
"""
https://developer.github.com/v3/reactions/#list-reactions-for-a-commit-comment
"""
return self.get("/repos/{}/{}/comments/{}/reactions".format(owner, repo, comment_id), **kwargs)