$ pip install geocli
$ git clone https://github.com/expandaventures/geocoding-cli
$ cd geocoding-cli
$ python setup.py install
$ geocli
Usage: geocli geocode [OPTIONS] ADDRESS [STATE] [CITY]
$ geocli geocode --dry_run 'Av. Reforma 222' cdmx mexico
Usage: geocli batch [OPTIONS] INPUT_FILE OUTPUT_PATH
$ geocli batch --dry_run sample.csv out.csv
The expected schema in the file is:
id, state, unused, city, ... , address
1, CDMX,,Mexico,,Av. Reforma 222
The ONLY columns used are 2nd, 4th and last. (e.g. row[1], row[3], row[-1])