@@ 193-202 (lines=10) @@ | ||
190 | * @return \stdClass |
|
191 | * @throws TwitchException |
|
192 | */ |
|
193 | public function userUnfollowChannel($user, $channel, $userToken) |
|
194 | { |
|
195 | $queryString = $this->helper->buildQueryString(array( |
|
196 | 'oauth_token' => $userToken, |
|
197 | )); |
|
198 | ||
199 | $follow = new Methods\Follow($this->request); |
|
200 | ||
201 | return $follow->unfollowChannel($user, $channel, $queryString); |
|
202 | } |
|
203 | ||
204 | /** |
|
205 | * Get the specified channel |
|
@@ 271-281 (lines=11) @@ | ||
268 | * @return \stdClass |
|
269 | * @throws TwitchException |
|
270 | */ |
|
271 | public function teamList($limit = null, $offset = null) |
|
272 | { |
|
273 | $queryString = $this->helper->buildQueryString(array( |
|
274 | 'limit' => $limit, |
|
275 | 'offset' => $offset, |
|
276 | )); |
|
277 | ||
278 | $team = new Methods\Team($this->request); |
|
279 | ||
280 | return $team->getTeams($queryString); |
|
281 | } |
|
282 | ||
283 | /** |
|
284 | * Get all team members |
|
@@ 525-534 (lines=10) @@ | ||
522 | * @return \stdClass |
|
523 | * @throws TwitchException |
|
524 | */ |
|
525 | public function chatEmoticonsImages($emoteset = null) |
|
526 | { |
|
527 | $queryString = $this->helper->buildQueryString(array( |
|
528 | 'emotesets' => $emoteset, |
|
529 | )); |
|
530 | ||
531 | $chat = new Methods\Chat($this->request); |
|
532 | ||
533 | return $chat->getEmoticonImages($queryString); |
|
534 | } |
|
535 | ||
536 | /** |
|
537 | * Returns a list of chat badges |
|
@@ 556-566 (lines=11) @@ | ||
553 | * @return \stdClass |
|
554 | * @throws TwitchException |
|
555 | */ |
|
556 | public function gamesTop($limit = null, $offset = null) |
|
557 | { |
|
558 | $queryString = $this->helper->buildQueryString(array( |
|
559 | 'limit' => $limit, |
|
560 | 'offset' => $offset, |
|
561 | )); |
|
562 | ||
563 | $game = new Methods\Game($this->request); |
|
564 | ||
565 | return $game->getTop($queryString); |
|
566 | } |
|
567 | ||
568 | /** |
|
569 | * Search games |