DEV Community

Discussion on: Sending a GET Request to GitHub API asking for a list of commit messages in a Pull Request

Collapse
 
crhodes2 profile image
crhodes

That's what I'm doing.

But the only thing I'm getting at this point is the number of commits as a count. (e.g. 13 if a PR has 13 commits, or 25 if another PR has 25 commits). I get a commit but I want to be able to display the messages associated with it.

Collapse
 
rhymes profile image
rhymes

You don't get the commit part of the response? There's a message key in the dictionary. Maybe is it a bug in the client you're using?