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 34dd09e + d6fd1a2 commit 08a176cCopy full SHA for 08a176c
lib/Github/Api/CurrentUser.php
@@ -88,6 +88,16 @@ public function organizations()
88
return $this->get('user/orgs');
89
}
90
91
+ /**
92
+ * @link https://developer.github.com/v3/orgs/teams/#list-user-teams
93
+ *
94
+ * @return array
95
+ */
96
+ public function teams()
97
+ {
98
+ return $this->get('user/teams');
99
+ }
100
+
101
/**
102
* @link http://developer.github.com/v3/repos/#list-your-repositories
103
*
@@ -113,7 +123,7 @@ public function watchers()
113
123
{
114
124
return new Watchers($this->client);
115
125
116
-
126
117
127
118
128
* @deprecated Use watchers() instead
119
129
*/
@@ -123,7 +133,7 @@ public function watched($page = 1)
133
'page' => $page
134
));
135
136
137
138
* @return Starring
139
0 commit comments