crawler-google-places/INPUT_SCHEMA.json
2019-01-04 20:01:05 +01:00

52 lines
1.7 KiB
JSON

{
"title": "Crawler for Google places",
"description": "This crawler search string on input on google maps and returns all information about found places.",
"type": "object",
"schemaVersion": 1,
"properties": {
"searchString": {
"title": "Search",
"type": "string",
"description": "String will be search on Google maps.",
"prefill": "pubs near prague 2",
"editor": "textfield"
},
"proxyConfig": {
"title": "Proxy configuration",
"type": "object",
"description": "Use Apify Proxy, you need to have some proxy group to get results on Google.",
"prefill": { "useApifyProxy": true },
"editor": "proxy"
},
"lat": {
"title": "Viewport point latitude",
"type": "string",
"description": "Use it with combination with longitude and zoom to set up viewport to search on.",
"editor": "textfield"
},
"lng": {
"title": "Viewport point longitude",
"type": "string",
"description": "Use it with combination with latitude and zoom to set up viewport to search on.",
"editor": "textfield"
},
"zoom": {
"title": "Viewport zoom level",
"type": "integer",
"description": "Use it with combination with point longitude and latitude to set up viewport to search on. You have whole world on map with zoom level 1.",
"minimum": 1,
"maximum": 20
},
"maxCrawledPlaces": {
"title": "Max crawled places",
"type": "integer",
"description": "Use to limit places you want to get from crawler. If you fill 0 or nothing all places will be scrape",
"minimum": 0
}
},
"required": [
"searchString",
"proxyConfig"
]
}