Find nearby auto insurance agents and dump them to a CSV file.
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.
You should have Python 3.7.5 or newer installed.
Google Maps API
You must have a valid Google Maps API key.
In your shell configuration file (.zshrc, .bash_profile, .bashrc, etc):
You also need to install
pip3 install googlemaps
python3 agent-finder.py "Los Angeles, CA"
You can also customize the CSV filename and the search radius (units = kilometers).
python3 agent-finder.py "Los Angeles, CA" --filename foo.csv --radius 50
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Hashes for agent-finder-masterjefferson-0.2.tar.gz
Hashes for agent_finder_masterjefferson-0.2-py3-none-any.whl