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 c17e729 commit 5ed46ccCopy full SHA for 5ed46cc
lib/Github/Api/User.php
@@ -58,6 +58,21 @@ public function show($username)
58
{
59
return $this->get('/users/'.rawurlencode($username));
60
}
61
+
62
+ /**
63
+ * Get extended information about a user by its id.
64
+ * Note: at time of writing this is an undocumented feature
65
+ *
66
+ * @link http://developer.github.com/v3/users/
67
68
+ * @param int $id the id of the user to show
69
70
+ * @return array information about the user
71
+ */
72
+ public function showById($id)
73
+ {
74
+ return $this->get('/user/'.rawurlencode($id));
75
+ }
76
77
/**
78
* Get extended information about a user by its username.
0 commit comments