Finds zip codes within a specified distance of a given list of zip codes from a csv file.
foo@bar:~$ python radius_zips.py test_file.csv # Finds zip codes within 10 miles of described cities
foo@bar:~$ python radius_zips.py -r 30 test_file.csv # Finds zip codes within 30 miles
foo@bar:~$ python radius_zips.py test_file.csv out.csv # Sets output to out.csv
foo@bar:~$ python radius_zips.py -h # Gets Help File
- Clone this repo
- Create a virtual environment, and run
pip -r requirements.txt
to install the required dependencies. - Create a
secrets.json
file containing the headers described here.
{
"x-rapidapi-key": "Your Key Here",
"x-rapidapi-host": "zip-code-distance-radius.p.rapidapi.com"
}
Created by @hlevenberg and @rgarber11.