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.

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


Download files

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

Source Distribution

agent-finder-masterjefferson-1.0.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page