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.
1 parent 7581776 commit ada3b6cCopy full SHA for ada3b6c
lib/Github/Api/User.php
@@ -43,6 +43,18 @@ public function all($id = null)
43
return $this->get('users?since=' . rawurldecode($id));
44
}
45
46
+ /**
47
+ * Get extended information about a user by its ID (UNDOCUMENTED).
48
+ *
49
+ * @param int $id the user ID to get
50
51
+ * @return array informations about the user
52
+ */
53
+ public function get($id)
54
+ {
55
+ return $this->get('user/'.rawurlencode($id));
56
+ }
57
+
58
/**
59
* Get extended information about a user by its username.
60
*
0 commit comments