Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Finds the ward and alderman for any Chicago address.
Ruby
Branch: master
Failed to load latest commit information.
lib Initial commit of the Ward gem
test Initial commit of the Ward gem
.document Initial commit to ward.
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt Initial commit to ward.
README.md
Rakefile Renaming gem to ward-chicago
VERSION Version bump to 0.1.1
ward-chicago.gemspec Regenerate gemspec for version 0.1.1
ward.gemspec

README.md

Ward

About

Gets ward information for any given address in the city of Chicago.

Installation

Insert the following into your Gemfile.

gem "ward-chicago", "~> 0.1.1"

Usage

require 'ward' # NOTE

ward = Ward.new
ward.find('1 N. State St., Chicago, Il 60602')

Response

{:number=>42,
 :alderman=>
  {:name=>"Brendan Reilly",
   :office=>{:address=>"325 W HURON ST #510", :phone=>"312-642-4242"},
   :city_hall=>
    {:address=>"121 N LASALLE ST RM 306 60602", :phone=>"312-744-3062"}}}

Thanks to...

Something went wrong with that request. Please try again.