Skip to content

Commit

Permalink
Update Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
schulzefelix committed Apr 11, 2021
1 parent 2c4cc6d commit 26e9b65
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@

All Notable changes to `laravel-search-console` will be documented in this file.
## [1.7.0] - 2021-04-11
- Add 'dataState' request and response parameter

## [1.6.1] - 2021-03-09
- Add Compatibility with PHP 8
- Add 'dataState' request parameter

## [1.6.0] - 2020-09-14
- Add Compatibility With Laravel 8
Expand Down
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,8 @@ $sites = SearchConsole::setAccessToken($token)->listSites();
['query', 'page', 'country', 'device', 'date'],
[['dimension' => 'query', 'operator' => 'notContains', 'expression' => 'cheesecake']],
1000,
'web'
'web',
'all'
);
```

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

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

### Check Access Token
Expand Down

0 comments on commit 26e9b65

Please sign in to comment.