Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vlad-stack committed Oct 10, 2022
1 parent da53c60 commit 48dcae9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,21 +34,21 @@ client := outscraper.Client{ApiKey: "SECRET_API_KEY"}

```go
// Search for businesses in specific locations:
results, _ := client.GoogleMapsSearchV2(map[string]string {
results, _ := client.GoogleMapsSearch(map[string]string {
"query": "bars ny usa",
"limit": "10",
})
fmt.Println(results)

// Get data of the specific place by id
results, _ := client.GoogleMapsSearchV2(map[string]string {
results, _ := client.GoogleMapsSearch(map[string]string {
"query": "rChIJrc9T9fpYwokRdvjYRHT8nI4",
"language": "en",
})
fmt.Println(results)

// Get reviews of the specific place by id
results, _ := client.GoogleMapsReviewsV3(map[string]string {
results, _ := client.GoogleMapsReviews(map[string]string {
"query": "rChIJrc9T9fpYwokRdvjYRHT8nI4",
"reviewsLimit": "20",
"language": "en",
Expand Down

0 comments on commit 48dcae9

Please sign in to comment.