Skip to main content

Validate a US ZIP / postal code and return city, state, county, timezone via the GoCreative AI pay-per-call API.

Project description

gocreative-zip-validator

Tiny US ZIP / postal-code validator that returns city, state, county, timezone, and lat/lon centroid for the ZIP, via the GoCreative AI API.

Install

pip install gocreative-zip-validator

30-second quickstart

from gocreative_zip_validator import lookup

# Free demo tier (no key needed, 5 calls/day per IP):
print(lookup('94103'))

# Or with a paid API key:
print(lookup('94103', api_key="gck_your_key_here"))

You can also set GOCREATIVE_API_KEY=gck_... in your environment.

What this returns

A dict fetched live from the GoCreative AI API — validate a us zip / postal code and return city, state, county, timezone.

Need more endpoints?

This package wraps just one GoCreative endpoint. For the full SDK with enrich / lookup / scrape / search across 145+ endpoints, install:

pip install gocreative

Powered by GoCreative AI — free tier 5 calls/day, paid plans at https://api.gocreativeai.com/credits/buy.

License

MIT

Project details


Download files

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

Source Distribution

gocreative_zip_validator-0.1.0.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gocreative_zip_validator-0.1.0-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file gocreative_zip_validator-0.1.0.tar.gz.

File metadata

File hashes

Hashes for gocreative_zip_validator-0.1.0.tar.gz
Algorithm Hash digest
SHA256 a013e6755e83b2dda622aeea99cede8fafa9d2b24df17be41bbba14621ba0991
MD5 6037d43ab0266a0b493e854e5da63993
BLAKE2b-256 fb7042cbe76b13444956c53f951cabfbdd4eb7061d211b761882e750b8c83962

See more details on using hashes here.

File details

Details for the file gocreative_zip_validator-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for gocreative_zip_validator-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4407bcbea6be26fa76cb030c9a5bb18c70c6247f51bcb4a2f22b41be0cc9bdd5
MD5 4e68057e3b41e02cd811eaccabb07d81
BLAKE2b-256 d88d7d601fb20d321d85cc16b8010214ea8de5d1018caf3a7f9f1b1bf5801ebc

See more details on using hashes here.

Supported by

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