Zipcode Services.

This is a ruby library that interfaces Zip Code Services -- a IP Address and Zip Code database with Zip Code Distance Search and IP Address Distance Search APIs available to members.


Installation

gem install zipcodeservices

Use

ZipCodeServices.apikey = ENV['ZIP_CODE_SERVICES_API_KEY']
ZipCodeServices.data_format = :json
zips = ZipCodeServices.zipcode("78702") 

Contribution

Installation for contributors

  1. Get an api key from zipcodeservices.com
  2. Fork the repo
  3. Add the API key as the environment variable ZIP_CODE_SERVICES_API_KEY
  4. Ensure all tests pass by running rspec spec
  5. Submit a pull request with your changes

Please write tests for any changes you make or we will have our way with you