Find nearby auto insurance agents and dump them to a CSV file.
Project description
agent-finder
Find nearby auto insurance agents using the Google Maps Places API, and dump them to a CSV file.
This script was written to help automate part of my girlfriends job. Maybe someone else will find it useful too.
Installation
pip3 install agent-finder-masterjefferson
Usage
Google Maps API
You must have a valid Google Maps API key.
In your shell configuration file (.zshrc, .bash_profile, .bashrc, etc):
export GOOGLE_MAPS_API_KEY=<your-api-key>
Basic search:
agent-finder "Los Angeles, CA"
You can also customize the CSV filename and the search radius (units = kilometers).
agent-finder "Los Angeles, CA" --filename foo.csv --radius 50
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file agent-finder-masterjefferson-1.0.tar.gz
.
File metadata
- Download URL: agent-finder-masterjefferson-1.0.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 698ca3318eb7236ea36d1d54f1849502c76cf99f205e2d248984ff16f38f273a |
|
MD5 | dce5b0b7d4eedfefa12d91cfa8f1715d |
|
BLAKE2b-256 | 30a0682ae87ace1640a6e51079f71f08736379c27a8e2d7e6579b51fe4d53868 |
File details
Details for the file agent_finder_masterjefferson-1.0-py3-none-any.whl
.
File metadata
- Download URL: agent_finder_masterjefferson-1.0-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6822695e8753ed39467b6e42d9e6d75741a42ea271c750d3783c3a8275602003 |
|
MD5 | 18593725c75f9b257ea692e37d545b27 |
|
BLAKE2b-256 | cc24a7059607b66ed3a98506942fba320f4ae6d7a981bcd5ce73b5518da6e8a1 |