@@ 23-29 (lines=7) @@ | ||
20 | * |
|
21 | * @return ProfileResponse |
|
22 | */ |
|
23 | public function getProfile($id, $region, $name) |
|
24 | { |
|
25 | $data = $this->_get( |
|
26 | $this->_path . '/profile/' . $id . '/' . $region . '/' . $name . '/' |
|
27 | ); |
|
28 | return new ProfileResponse($data); |
|
29 | } |
|
30 | ||
31 | /** |
|
32 | * @param int $id |
|
@@ 38-44 (lines=7) @@ | ||
35 | * |
|
36 | * @return LaddersResponse |
|
37 | */ |
|
38 | public function getProfileLadders($id, $region, $name) |
|
39 | { |
|
40 | $data = $this->_get( |
|
41 | $this->_path . '/profile/' . $id . '/' . $region . '/' . $name . '/ladders' |
|
42 | ); |
|
43 | return new LaddersResponse($data); |
|
44 | } |
|
45 | ||
46 | /** |
|
47 | * @param int $id |