GitHubリポジトリをスターしたユーザーの一覧
GitHub リポジトリをスターしたユーザーの一覧を表示するには、/stargazers
を URL に付与する。
https://github.com/OWNER/REPO
-> https://github.com/OWNER/REPO/stargazers
https://github.com/microsoft/vscode であれば https://github.com/microsoft/vscode/stargazers
API
スターしたユーザーを取得
curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/repos/OWNER/REPO/stargazers
ユーザーがスターしたリポジトリを取得
ブラウザで、https://github.com/USERNAME?tab=stars
にアクセスしても OK 牧場。
curl -L \ -H "Accept: application/vnd.github+json" \ -H "Authorization: Bearer <YOUR-TOKEN>" \ -H "X-GitHub-Api-Version: 2022-11-28" \ https://api.github.com/users/USERNAME/starred