Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Finds the ward and alderman for any Chicago address.

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 test
Octocat-spinner-32 .document
Octocat-spinner-32 .gitignore
Octocat-spinner-32 Gemfile
Octocat-spinner-32 Gemfile.lock
Octocat-spinner-32 LICENSE.txt
Octocat-spinner-32 README.md
Octocat-spinner-32 Rakefile
Octocat-spinner-32 VERSION
Octocat-spinner-32 ward-chicago.gemspec
Octocat-spinner-32 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.