We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GitHub APIの仕様が変更となり、watchers_count は 廃止となり、 stargazers_countと同じ値がセットされるようになったので、 以下の資料を調査して適切なデータを取得する。
watchers_count
stargazers_count
watchers_count の代わりに subscribers_count を使えば良いらしいが、 search-repositories のレスポンスに含まれていなかった。
watchers & watchers_count are incorrect BUG “watchers_count” is the duplicate of “stargazers_count” Upcoming Changes to Watcher and Star APIs
The text was updated successfully, but these errors were encountered:
以下の方法で subscribers_count を取得できる。 1 リポジトリ item から "url" を取得する。
"url": "https://api.github.com/repos/apple/swift"
2 取得した"url"に対してGETを行う。
GET https://api.github.com/repos/apple/swift
3 Responseの中に"subscribers_count"が含まれている。
"subscribers_count": 2526
Sorry, something went wrong.
[fixed] watchers_count の廃止に対応 #29
0ea80f5
[0ea80f5] 対応しました。
hackenbacker
No branches or pull requests
GitHub APIの仕様が変更となり、
watchers_count
は 廃止となり、stargazers_count
と同じ値がセットされるようになったので、以下の資料を調査して適切なデータを取得する。
参考資料
watchers & watchers_count are incorrect
BUG “watchers_count” is the duplicate of “stargazers_count”
Upcoming Changes to Watcher and Star APIs
The text was updated successfully, but these errors were encountered: