Skip to content
Finds the ward and alderman for any Chicago address.
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
test
.document
.gitignore
Gemfile
Gemfile.lock
LICENSE.txt
README.md
Rakefile
VERSION
ward-chicago.gemspec
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.