ziptastic-python

Official GetZiptastic.com library.


Keywords
ziptastic, getziptastic, geocoding, forward, reverse, geocode, GIS, forward-geocoding, geographical-information-system, geolocation, lookup, postal-code, python, reverse-geocode, reverse-geocoding, zipcode, zipcodes
License
MIT
Install
pip install ziptastic-python==1.0.0b2

Documentation

Official Ziptastic Python Library

Official python library for GetZiptastic.com

Documentation Status Build Status Coverage Status

Installation

pip install ziptastic-python (coming soon)

Testing

$ nosetests

With coverage

$ nosetests --with-coverage --cover-package=ziptastic

Usage

Forward geocoding

from ziptastic import Ziptastic

# Set your API key. (Available at https://www.getziptastic.com/dashboard)
api = Ziptastic('<your api key>')
result = api.get_from_postal_code('48867')

Reverse geocoding

from ziptastic import Ziptastic

# Set API key.
api = Ziptastic('<your api key>')
result = api.get_from_coordinates('42.9934', '-84.1595')