Documentation
¶
Overview ¶
Batch Maps scraper client.
Submits keywords in parallel (up to 20 at a time), polls for results, and saves each completed job to a JSON file.
Usage:
# Keywords as arguments go run main.go -base-url https://example.com -api-key gms_... "cafes in athens" "hotels in berlin" # Keywords from stdin (one per line) cat keywords.txt | go run main.go -base-url https://example.com -api-key gms_... # Custom output directory go run main.go -base-url https://example.com -api-key gms_... -o results "cafes in athens" # Skip TLS certificate verification (e.g. self-signed certs) go run main.go -base-url https://example.com -api-key gms_... -insecure "cafes in athens"
Click to show internal directories.
Click to hide internal directories.