go

command
v1.10.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 14 Imported by: 0

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"

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL