How to get only one user's commit info? #24667
-
Even though github has a Repository Metrics Api which lists all activity. It lists the commits of all contributors and for big projects, the response is often to big too handle. It would be really appreciated if there was an optional author parameter at the end such as /repos/{owner}/{repo}/stats/contributors?author={name} If it is not possible, is there a way to do this in grapql? |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
yes you can always do that by getting only the required field, like in JavaScript, right? |
Beta Was this translation helpful? Give feedback.
-
Could you please elaborate? |
Beta Was this translation helpful? Give feedback.
-
for example, in one of my private app, I consume one endpoint, and this is the code snippet,
that |
Beta Was this translation helpful? Give feedback.
for example, in one of my private app, I consume one endpoint, and this is the code snippet,
that
login
is the username of those I’m following, I loop that, so I can access each username, and that’s it, no matter how long, like 3k followers, I can simply just get that specific field