Skip to main content

Official GetZiptastic.com library.

Project description

Official Ziptastic Python Library

Python library for GetZiptastic.com

https://readthedocs.org/projects/ziptastic-python/badge/?version=latest https://codecov.io/gh/ziptastic/ziptastic-python/branch/master/graph/badge.svg https://travis-ci.org/Ziptastic/ziptastic-python.svg?branch=master https://circleci.com/gh/Ziptastic/ziptastic-python.png

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')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

ziptastic_python-1.0.0b2-py2.py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page