Ziptastic Python package

ziptastic module

class ziptastic.Ziptastic(api_key)[source]

Bases: object

Ziptastic Python Module

static build_url(endpoint, version='v3', preferred_protocol='https')[source]

Build the Ziptastic API url.

endpoint = 'zip.getziptastic.com'

The current endpoint where Ziptastic APIs are served from.

get_from_coordinates(latitude, longitude)[source]

Get geo data from coordinates

get_from_postal_code(postal_code, country='US')[source]

Get geo data from postal code and country code

exception ziptastic.ZiptasticAPIKeyRequiredException[source]

Bases: exceptions.Exception