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