Skip to main content

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.

Setup

Python

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):

export GOOGLE_MAPS_API_KEY=<your-api-key>

You also need to install googlemaps.

pip3 install googlemaps

Usage

Basic search:

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for agent-finder-masterjefferson, version 0.2
Filename, size File type Python version Upload date Hashes
Filename, size agent_finder_masterjefferson-0.2-py3-none-any.whl (4.7 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size agent-finder-masterjefferson-0.2.tar.gz (3.2 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page