mirror of
https://github.com/davidjohnbarton/crawler-google-places.git
synced 2025-12-12 16:38:45 +00:00
1.5 KiB
1.5 KiB
Crawler Google Places
Get data from Google Places, which official Google Maps Places API does not provide.
Why?
You can use official Google Maps Places API, it is better way for the most use cases. But API doesn't provide:
- Popular place times histogram
- Place reviews (you can get up to 5 reviews from official API)
- Place photos (you can can up to 10 photos from official API)
INPUT
Follow guide on actor detail page to see how it works.
Example input:
{
"searchString": "pubs near prague",
"lat": "50.0860729",
"lng": "14.4135326",
"zoom": 10
}
On this input actor searches places on this start url: https://www.google.com/maps/search/pubs+near+prague/@50.0860729,14.4135326,10z
searchString- String will be search on Google mapsproxyConfig- Apify proxy configurationlat- Use it with combination with longitude and zoom to set up viewport to search on.lng- Use it with combination with latitude and zoom to set up viewport to search on.zoom- Viewport zoom, e.g zoom: 10 -> https://www.google.com/maps/@50.0860729,14.4135326,10z vs zoom: 1 -> https://www.google.com/maps/@50.0860729,14.4135326,10zmaxCrawledPlaces- Limit places you want to get from crawler
OUTPUT
Once the actor finishes, it outputs results to actor default dataset.