Skip to content

Commit 26e9b65

Browse files
committed
Update Readme
1 parent 2c4cc6d commit 26e9b65

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22

33
All Notable changes to `laravel-search-console` will be documented in this file.
44
## [1.7.0] - 2021-04-11
5+
- Add 'dataState' request and response parameter
6+
7+
## [1.6.1] - 2021-03-09
58
- Add Compatibility with PHP 8
6-
- Add 'dataState' request parameter
79

810
## [1.6.0] - 2020-09-14
911
- Add Compatibility With Laravel 8

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,8 @@ $sites = SearchConsole::setAccessToken($token)->listSites();
112112
['query', 'page', 'country', 'device', 'date'],
113113
[['dimension' => 'query', 'operator' => 'notContains', 'expression' => 'cheesecake']],
114114
1000,
115-
'web'
115+
'web',
116+
'all'
116117
);
117118
```
118119

@@ -129,7 +130,7 @@ public function public function listSites(): Collection
129130

130131
### Retrieve Search Analytics Data
131132
```php
132-
public function searchAnalyticsQuery(string $siteUrl, Period $period, array $dimensions = [], array $filters = [], int $rows = 1000, string $searchType = 'web'): Collection
133+
public function searchAnalyticsQuery(string $siteUrl, Period $period, array $dimensions = [], array $filters = [], int $rows = 1000, string $searchType = 'web', string $dataState = 'final'): Collection
133134
```
134135

135136
### Check Access Token

0 commit comments

Comments
 (0)