diff --git a/README.md b/README.md index 53365c3..84f6f94 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ $client = new OutscraperClient("SECRET_API_KEY"); Scrape Google Mpas results bu query "asian restaurants Berlin, Germany". ```php -$results = $client->google_maps_search_v2(['asian restaurants Berlin, Germany'], 'en', 'DE'); +$results = $client->google_maps_search(['asian restaurants Berlin, Germany'], 'en', 'DE'); print_r($results); ``` diff --git a/outscraper.php b/outscraper.php index 646cc0b..6c10dfe 100644 --- a/outscraper.php +++ b/outscraper.php @@ -10,7 +10,7 @@ * @link https://github.com/outscraper/outscraper-php */ class OutscraperClient { - public $version = "2.0.0"; + public $version = "2.0.1"; private $api_url = "https://api.app.outscraper.com"; private $api_headers; private $max_ttl = 60 * 60;