1 | <?php |
||
15 | class Game |
||
16 | { |
||
17 | /** @var TwitchRequest */ |
||
18 | protected $request; |
||
19 | |||
20 | const URI_GAMES_TOP = 'games/top/'; |
||
21 | |||
22 | /** |
||
23 | * Game constructor |
||
24 | * @param TwitchRequest $request |
||
25 | */ |
||
26 | public function __construct(TwitchRequest $request) |
||
30 | |||
31 | /** |
||
32 | * Get top games |
||
33 | * @see https://github.com/justintv/Twitch-API/blob/master/v3_resources/games.md#get-gamestop |
||
34 | * @param string $queryString |
||
35 | * @return \stdClass |
||
36 | * @throws TwitchSDKException |
||
37 | */ |
||
38 | public function getTop($queryString) |
||
42 | } |
||
43 |