schulzefelix / laravel-search-console

A Laravel package to retrieve data from Google Search Console
MIT License
47 stars 24 forks source link

Update README.md #12

Closed madeITBelgium closed 6 years ago

madeITBelgium commented 6 years ago

Fix typos.

Also, the example of searchAnalyticsQuery() is not correct. The example has 5 parameters function expect 6.

    $data = SearchConsole::setAccessToken($token)->setQuotaUser('uniqueQuotaUserString')
        ->searchAnalyticsQuery(
            'https://www.example.com/',
            Period::create(Carbon::now()->subDays(30), Carbon::now()->subDays(2)),
            [['dimension' => 'query', 'operator' => 'notContains', 'expression' => 'cheesecake']],
            1000,
            'web'
        );
schulzefelix commented 6 years ago

Thanks!