Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: f1f5675f9c
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 35 lines (21 sloc) 0.738 kb

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.