0.0
No commit activity in last 3 years
No release in over 3 years
Query city information by postal code and city name.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
 Dependencies

Development

>= 0
>= 0
>= 0

Runtime

>= 0
 Project Readme

zipcode-rack

Rack API to find city data by zip code and name.

Build Status

Usage

Mount as a rack app, either in Rails's routes or in config.ru. Require data gem separately (see zipcode-db).

See rack tests to get some idea of API calls.

Depending on the data source, some extra fields may be provided.

Demo with UI

Once cloned, a demo is available locally by starting rackup, then navigate to /public/view.html

Got Rails? Get the UI

Either require 'zipcode/rails' or gem 'zipcode-rack', require: 'zipcode/rails' will come in handy. Add zipcode-input to your manifest.

See public/view.html for an example of how to set things up.

License

MIT