| @@ 98-108 (lines=11) @@ | ||
| 95 | * @return mixed |
|
| 96 | * @throws Exception |
|
| 97 | */ |
|
| 98 | public function getBooksViewsStatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 99 | { |
|
| 100 | return $this->client->getResponse( |
|
| 101 | $this->getUrl(__FUNCTION__), |
|
| 102 | [ |
|
| 103 | 'group_by' => $groupBy, |
|
| 104 | 'period_range_from' => $periodFrom, |
|
| 105 | 'period_range_to' => $periodTo, |
|
| 106 | ] |
|
| 107 | )['data']; |
|
| 108 | } |
|
| 109 | ||
| 110 | /** |
|
| 111 | * @param null $groupBy |
|
| @@ 117-127 (lines=11) @@ | ||
| 114 | * @return mixed |
|
| 115 | * @throws Exception |
|
| 116 | */ |
|
| 117 | public function getJournalsViewsStatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 118 | { |
|
| 119 | return $this->client->getResponse( |
|
| 120 | $this->getUrl(__FUNCTION__), |
|
| 121 | [ |
|
| 122 | 'group_by' => $groupBy, |
|
| 123 | 'period_range_from' => $periodFrom, |
|
| 124 | 'period_range_to' => $periodTo, |
|
| 125 | ] |
|
| 126 | )['data']; |
|
| 127 | } |
|
| 128 | ||
| 129 | /** |
|
| 130 | * @param null $groupBy |
|
| @@ 136-146 (lines=11) @@ | ||
| 133 | * @return mixed |
|
| 134 | * @throws Exception |
|
| 135 | */ |
|
| 136 | public function getUsersVisitsSatistics($groupBy = null, $periodFrom = null, $periodTo = null) |
|
| 137 | { |
|
| 138 | return $this->client->getResponse( |
|
| 139 | $this->getUrl(__FUNCTION__), |
|
| 140 | [ |
|
| 141 | 'group_by' => $groupBy, |
|
| 142 | 'period_range_from' => $periodFrom, |
|
| 143 | 'period_range_to' => $periodTo, |
|
| 144 | ] |
|
| 145 | )['data']; |
|
| 146 | } |
|
| 147 | ||
| 148 | /** |
|
| 149 | * @return mixed |
|