jdrda / laravel-google-custom-search-engine

Laravel package to get Google Custom Search results from Google Custom Search Engine API for both free and paid versions.
MIT License
48 stars 17 forks source link

Call to undefined method getRawResults() #6

Open jayomayan opened 6 years ago

jayomayan commented 6 years ago

I got this error when i use getRawResults() here's my code: $fulltext = new LaravelGoogleCustomSearchEngine(); // initialize $results = $fulltext->getResults('Startup Funding'); // get first 10 results for query 'some phrase' $rawResults = $fulltext->getRawResults();

here's the error: Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR) Call to undefined method JanDrda\LaravelGoogleCustomSearchEngine\LaravelGoogleCustomSearchEngine::getRawResults()

anyone knows how to fix this? Thanks in advance.

thedamilare commented 3 years ago

The method is actually getRawResult() without the 's'