@@ 275-285 (lines=11) @@ | ||
272 | * @return \stdClass |
|
273 | * @throws TwitchException |
|
274 | */ |
|
275 | public function teamList($limit = null, $offset = null) |
|
276 | { |
|
277 | $queryString = $this->helper->buildQueryString(array( |
|
278 | 'limit' => $limit, |
|
279 | 'offset' => $offset, |
|
280 | )); |
|
281 | ||
282 | $team = new Methods\Team($this->request); |
|
283 | ||
284 | return $team->getTeams($queryString); |
|
285 | } |
|
286 | ||
287 | /** |
|
288 | * Get all team members |
|
@@ 495-504 (lines=10) @@ | ||
492 | * @return \stdClass |
|
493 | * @throws TwitchException |
|
494 | */ |
|
495 | public function chatEmoticonsImages($emoteset = null) |
|
496 | { |
|
497 | $queryString = $this->helper->buildQueryString(array( |
|
498 | 'emotesets' => $emoteset, |
|
499 | )); |
|
500 | ||
501 | $chat = new Methods\Chat($this->request); |
|
502 | ||
503 | return $chat->getEmoticonImages($queryString); |
|
504 | } |
|
505 | ||
506 | /** |
|
507 | * Returns a list of chat badges |
|
@@ 526-536 (lines=11) @@ | ||
523 | * @return \stdClass |
|
524 | * @throws TwitchException |
|
525 | */ |
|
526 | public function gamesTop($limit = null, $offset = null) |
|
527 | { |
|
528 | $queryString = $this->helper->buildQueryString(array( |
|
529 | 'limit' => $limit, |
|
530 | 'offset' => $offset, |
|
531 | )); |
|
532 | ||
533 | $game = new Methods\Game($this->request); |
|
534 | ||
535 | return $game->getTop($queryString); |
|
536 | } |
|
537 | ||
538 | /** |
|
539 | * Search games |