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 a462c35 commit 0e7c3ecCopy full SHA for 0e7c3ec
lib/Github/Api/User.php
@@ -51,6 +51,18 @@ public function show($username)
51
return $this->get('users/'.rawurlencode($username));
52
}
53
54
+ /**
55
+ * Get extended information about a user by its username
56
+ * @link https://developer.github.com/v3/orgs/
57
+ *
58
+ * @param string $username the username to show
59
+ * @return array information about organizations that user belongs to
60
+ */
61
+ public function organizations($username)
62
+ {
63
+ return $this->get('users/'.rawurlencode($username).'/orgs');
64
+ }
65
+
66
/**
67
* Request the users that a specific user is following
68
* @link http://developer.github.com/v3/users/followers/
0 commit comments