Metadata-Version: 2.0
Name: ziptastic-python
Version: 1.0.0b2
Summary: Official GetZiptastic.com library.
Home-page: https://github.com/ziptastic/ziptastic-python
Author: Thomas Schultz
Author-email: tom@getziptastic.com
License: MIT
Keywords: ziptastic getziptastic geocoding forward reverse geocode GIS
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Scientific/Engineering :: GIS
Classifier: Topic :: Software Development :: Libraries
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Provides-Extra: test
Provides-Extra: dev
Requires-Dist: requests
Provides-Extra: dev
Requires-Dist: check-manifest; extra == 'dev'
Provides-Extra: test
Requires-Dist: coverage; extra == 'test'
Requires-Dist: requests-mock; extra == 'test'

Official Ziptastic Python Library
=================================


Python library for `GetZiptastic.com <https://www.getziptastic.com>`_
---------------------------------------------------------------------

.. image:: https://readthedocs.org/projects/ziptastic-python/badge/?version=latest
   :target: http://ziptastic-python.readthedocs.org/en/latest/?badge=latest

.. image:: https://codecov.io/gh/ziptastic/ziptastic-python/branch/master/graph/badge.svg
   :target: https://codecov.io/gh/ziptastic/ziptastic-python/branch/master

.. image:: https://travis-ci.org/Ziptastic/ziptastic-python.svg?branch=master
   :target: https://travis-ci.org/Ziptastic/ziptastic-python

.. image:: https://circleci.com/gh/Ziptastic/ziptastic-python.png
   :target: https://circleci.com/gh/Ziptastic/ziptastic-python

Installation
------------

    >>> pip install ziptastic-python


Running tests
-------------

    $ nosetests

Running tests with coverage
---------------------------

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


Usage
=====

Forward geocoding
-----------------

    >>> from ziptastic import Ziptastic
    >>> api = Ziptastic('<your api key>')
    >>> result = api.get_from_postal_code('48867')


Reverse geocoding
-----------------

    >>> from ziptastic import Ziptastic
    >>> api = Ziptastic('<your api key>')
    >>> result = api.get_from_coordinates('42.9934', '-84.1595')


