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
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
Close
Hashes for agent-finder-masterjefferson-0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a16e854e779ae0121e2de0b8c8cd530c65bf9bc79766e6d0f2547b1a44c5b037 |
|
MD5 | 990e697e2b34d415041c22c9df76bcbc |
|
BLAKE2b-256 | 0460eceacf6684ca4a306d0c2f7b68d3159a52d49c3bb09823841aa8de31ffa5 |
Close
Hashes for agent_finder_masterjefferson-0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1dcf1bf0e9fe3e71ce1aadfd501fb806f8abc4f8c58f4bcf0fac5a95da7b17bc |
|
MD5 | 8235c37533c27a31cbee63bfa986cb28 |
|
BLAKE2b-256 | 7697aa1dd6552e69551bb70299745bd77475901523490139822c79bc8a3e4ef8 |