dee-parking-0.1.0 is not a library.
dee-parking
Find parking spots near a location.
Install
cargo install dee-parking
Setup
dee-parking config set google.api-key <KEY>
Optional custom endpoint:
dee-parking config set google.base-url https://maps.googleapis.com/maps/api/place/textsearch/json
Usage
dee-parking search <location> [--query <text>] [--limit <n>] [--json] [--quiet] [--verbose]
dee-parking config set <key> <value> [--json]
dee-parking config show [--json]
dee-parking config path [--json]
Examples
dee-parking search "Downtown Austin" --limit 10 --json
dee-parking search "Mission District SF" --query "covered parking near Mission District SF" --json
dee-parking config show --json
JSON Contract
Success list:
{"ok":true,"count":1,"items":[{"name":"City Center Garage","address":"123 Main St","rating":4.3,"rating_count":120,"business_status":"OPERATIONAL","open_now":true}]}
Error:
{"ok":false,"error":"Missing Google API key. Set google.api-key via config set","code":"AUTH_MISSING"}
Storage
- Config:
~/.config/dee-parking/config.toml
- Data: none