| @@ 33-43 (lines=11) @@ | ||
| 30 | * @return mixed |
|
| 31 | * @throws Exception |
|
| 32 | */ |
|
| 33 | public function getBooksViewsStatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 34 | { |
|
| 35 | return $this->client->getResponse( |
|
| 36 | $this->getUrl(__FUNCTION__), |
|
| 37 | [ |
|
| 38 | 'group_by' => $groupBy, |
|
| 39 | 'period_range_from' => $periodFrom, |
|
| 40 | 'period_range_to' => $periodTo, |
|
| 41 | ] |
|
| 42 | )['data']; |
|
| 43 | } |
|
| 44 | ||
| 45 | /** |
|
| 46 | * @param $method |
|
| @@ 102-112 (lines=11) @@ | ||
| 99 | * @return mixed |
|
| 100 | * @throws Exception |
|
| 101 | */ |
|
| 102 | public function getJournalsViewsStatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 103 | { |
|
| 104 | return $this->client->getResponse( |
|
| 105 | $this->getUrl(__FUNCTION__), |
|
| 106 | [ |
|
| 107 | 'group_by' => $groupBy, |
|
| 108 | 'period_range_from' => $periodFrom, |
|
| 109 | 'period_range_to' => $periodTo, |
|
| 110 | ] |
|
| 111 | )['data']; |
|
| 112 | } |
|
| 113 | ||
| 114 | /** |
|
| 115 | * @param null $groupBy |
|
| @@ 121-131 (lines=11) @@ | ||
| 118 | * @return mixed |
|
| 119 | * @throws Exception |
|
| 120 | */ |
|
| 121 | public function getUsersVisitsSatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 122 | { |
|
| 123 | return $this->client->getResponse( |
|
| 124 | $this->getUrl(__FUNCTION__), |
|
| 125 | [ |
|
| 126 | 'group_by' => $groupBy, |
|
| 127 | 'period_range_from' => $periodFrom, |
|
| 128 | 'period_range_to' => $periodTo, |
|
| 129 | ] |
|
| 130 | )['data']; |
|
| 131 | } |
|
| 132 | ||
| 133 | /** |
|
| 134 | * @return mixed |
|