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.

Files for ziptastic-python, version 1.0.0b2
Filename, size File type Python version Upload date Hashes
Filename, size ziptastic_python-1.0.0b2-py2.py3-none-any.whl (3.3 kB) File type Wheel Python version py2.py3 Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page