Skip to content

How to get only one user's commit info? #24667

Discussion options

You must be logged in to vote

for example, in one of my private app, I consume one endpoint, and this is the code snippet,

await octokit.request('GET /user/following/{username}', {
    username: following.data[i].login
})

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

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment