|
...
|
...
|
@@ -34,7 +34,9 @@ class RapIdApIService |
|
|
|
public function requestUrl($keyword){
|
|
|
|
$this->url = 'https://google-keyword-insight1.p.rapidapi.com/globalkey';
|
|
|
|
$url = $this->url.'/?keyword='.$keyword.'&lang=en';
|
|
|
|
return $this->curlGoogleApi($url);
|
|
|
|
$data = $this->curlGoogleApi($url);
|
|
|
|
@file_put_contents(storage_path('logs/lyh_error.log'), var_export($data, true) . PHP_EOL, FILE_APPEND);
|
|
|
|
return $data;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
...
|
...
|
|