1 | <?php |
||
12 | class GameData extends Service |
||
13 | { |
||
14 | // region Game data API |
||
15 | |||
16 | /** |
||
17 | * Get season index |
||
18 | * |
||
19 | * Returns base information about available seasons |
||
20 | * |
||
21 | * @param array $options Options |
||
22 | * |
||
23 | * @return Response |
||
24 | */ |
||
25 | public function getSeasonIndex(array $options = []) |
||
31 | |||
32 | /** |
||
33 | * Get season by ID |
||
34 | * |
||
35 | * Returns a leaderboard list for a particular season |
||
36 | * |
||
37 | * @param int $id The season to lookup |
||
38 | * @param array $options Options |
||
39 | * |
||
40 | * @return Response |
||
41 | */ |
||
42 | public function getSeasonById($id, array $options = []) |
||
48 | |||
49 | /** |
||
50 | * Get season leaderboard by ID and leaderboard |
||
51 | * |
||
52 | * Returns a leaderboard list for a particular season |
||
53 | * |
||
54 | * @param int $id The season to lookup |
||
55 | * @param string $leaderboard The leaderboard to lookup, you can find these strings in the Season API call |
||
56 | * @param array $options Options |
||
57 | * |
||
58 | * @return Response |
||
59 | */ |
||
60 | public function getSeasonLeaderboardById($id, $leaderboard, array $options = []) |
||
66 | |||
67 | /** |
||
68 | * Get era index |
||
69 | * |
||
70 | * Returns base information about available eras |
||
71 | * |
||
72 | * @param array $options Options |
||
73 | * |
||
74 | * @return Response |
||
75 | */ |
||
76 | public function getEraIndex(array $options = []) |
||
82 | |||
83 | /** |
||
84 | * Get era index by ID |
||
85 | * |
||
86 | * Returns a leaderboard list for a particular era |
||
87 | * |
||
88 | * @param int $id The era to lookup |
||
89 | * @param array $options Options |
||
90 | * |
||
91 | * @return Response |
||
92 | */ |
||
93 | public function getEraIndexById($id, array $options = []) |
||
99 | |||
100 | /** |
||
101 | * Get era leaderboard by ID and leaderboard |
||
102 | * |
||
103 | * Returns a leaderboard |
||
104 | * |
||
105 | * @param int $id The era to lookup |
||
106 | * @param string $leaderboard The leaderboard to lookup, you can find these strings in the Era API call |
||
107 | * @param array $options Options |
||
108 | * |
||
109 | * @return Response |
||
110 | */ |
||
111 | public function getEraLeaderboard($id, $leaderboard, array $options = []) |
||
117 | |||
118 | // endregion Game data API |
||
119 | } |
||
120 |