We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 86d104c + 0fe721d commit 51f35f8Copy full SHA for 51f35f8
lib/Github/Api/User.php
@@ -107,4 +107,18 @@ public function keys($username)
107
{
108
return $this->get('users/'.urlencode($username).'/keys');
109
}
110
+
111
+ /**
112
+ * List events performed by a user
113
+ *
114
+ * @link http://developer.github.com/v3/activity/events/#list-public-events-performed-by-a-user
115
116
+ * @param string $username
117
118
+ * @return array
119
+ */
120
+ public function publicEvents($username)
121
+ {
122
+ return $this->get('users/' . urlencode($username) . '/events/public');
123
+ }
124
0 commit comments