@@ 281-291 (lines=11) @@ | ||
278 | * @return \stdClass |
|
279 | * @throws TwitchSDKException |
|
280 | */ |
|
281 | public function teamList($limit = null, $offset = null) |
|
282 | { |
|
283 | $queryString = $this->helper->buildQueryString(array( |
|
284 | 'limit' => $limit, |
|
285 | 'offset' => $offset, |
|
286 | )); |
|
287 | ||
288 | $team = new Methods\Team($this->request); |
|
289 | ||
290 | return $team->getTeams($queryString); |
|
291 | } |
|
292 | ||
293 | /** |
|
294 | * Get all team members |
|
@@ 501-510 (lines=10) @@ | ||
498 | * @return \stdClass |
|
499 | * @throws TwitchSDKException |
|
500 | */ |
|
501 | public function chatEmoticonsImages($emoteset = null) |
|
502 | { |
|
503 | $queryString = $this->helper->buildQueryString(array( |
|
504 | 'emotesets' => $emoteset, |
|
505 | )); |
|
506 | ||
507 | $chat = new Methods\Chat($this->request); |
|
508 | ||
509 | return $chat->getEmoticonImages($queryString); |
|
510 | } |
|
511 | ||
512 | /** |
|
513 | * Returns a list of chat badges |
|
@@ 532-542 (lines=11) @@ | ||
529 | * @return \stdClass |
|
530 | * @throws TwitchSDKException |
|
531 | */ |
|
532 | public function gamesTop($limit = null, $offset = null) |
|
533 | { |
|
534 | $queryString = $this->helper->buildQueryString(array( |
|
535 | 'limit' => $limit, |
|
536 | 'offset' => $offset, |
|
537 | )); |
|
538 | ||
539 | $game = new Methods\Game($this->request); |
|
540 | ||
541 | return $game->getTop($queryString); |
|
542 | } |
|
543 | ||
544 | /** |
|
545 | * Search games |