stMind

about Tech, Computer vision and Machine learning

GithubのEvents API

Events | GitHub API

プライベートなイベントの取得には認証が必要だが、パブリックなイベントなら簡単に取得できる。

List public events

全てのパブリックなイベント。

GET /events

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/events

List repository events

特定のレポジトリに関するパブリックなイベント。

GET /repos/:user/:repos/events

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/repos/satojkovic/MachineLearningDev/events

List issue events for a repository

特定レポジトリのパブリックなissueイベント。

GET /repos/:user/:repo/issues/events

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/repos/satojkovic/MachineLearningDev/issues/events

List public events for a network of repositories

これはいまいち不明...

GET /networks/:user/:repo/events

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/networks/satojkovic/MachineLearningDev/events

List public events for an organization

特定組織のパブリックなイベント。

GET /orgs/:org/events

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/orgs/Github/events

List events that a user has received

watchしているレポジトリもしくはfollowしているユーザが受け取ったイベント。
認証済みのユーザであればプライベートなイベントも取得可。そうでなければパブリックなイベントのみ。

GET /users/:user/received_events

List public events that a user has received

GET /users/:user/received_events/public

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/users/satojkovic/received_events/public

List events performed by a user

特定のユーザが行ったアクションのイベント。

GET /users/:user/events

List public events performed by a user

GET /users/:user/events/public

$ perl -MLWP::Simple -le 'print get shift' https://api.github.com/users/satojkovic/events/public

List events for an organization

所属している組織のダッシュボード。

GET /users/:user/events/orgs/:org