Added support for radarsearch and place details
This commit is contained in:
parent
3d003c63a3
commit
90814cb718
2 changed files with 52 additions and 0 deletions
16
README.md
16
README.md
|
@ -46,6 +46,22 @@ $google_places->pageToken = $results['next_page_token'];
|
|||
$page2_results = $google_places->nearbySearch();
|
||||
```
|
||||
|
||||
### Radar search
|
||||
|
||||
```php
|
||||
$google_places->location = array(-33.86820, 151.1945860);
|
||||
$google_places->radius = 800;
|
||||
$google_places->types = 'restaurant'; // Requires keyword, name or types
|
||||
$results = $google_places->radarSearch();
|
||||
```
|
||||
|
||||
### Place details
|
||||
|
||||
```php
|
||||
$google_places->reference = '#reference#'; // Reference from search results
|
||||
$details = $google_places->details();
|
||||
```
|
||||
|
||||
The Fututre
|
||||
-----------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue