<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>.gitignore</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -56,6 +56,20 @@ class Committee(NYTCongressApiObject):
         except:
             return u'%s' % self.committee
 
+class Comparison(NYTCongressApiObject):
+    &quot;&quot;&quot;
+    A comparison of how often two members of Congress voted
+    in a given chamber and congress.
+    &quot;&quot;&quot;
+    def __init__(self, d):
+        self.__dict__ = d
+        self.first_member = nytcongress.members.get(self.first_member_id)
+        self.second_member = nytcongress.members.get(self.second_member_id)
+
+    def __repr__(self):
+        return u'%s and %s agree %s percent of the time' % (self.first_member, self.second_member, self.agree_percent)
+
+
 # namespaces #
  
 class nytcongress(object):
@@ -116,6 +130,12 @@ class nytcongress(object):
             path = '%s/%s/%s_votes' % (congress, chamber, total)
             results = nytcongress._apicall(path, None)[0]['members']
             return [MemberTotal(m) for m in results]
+
+        @staticmethod
+        def compare(first, second, congress, chamber):
+            path = 'members/%s/compare/%s/%s/%s' % (first, second, congress, chamber)
+            results = nytcongress._apicall(path, None)[0]
+            return Comparison(results)
     
     class votes(object):
         @staticmethod
@@ -157,4 +177,4 @@ class nytcongress(object):
             results = nytcongress._apicall(path, None)[0]
             return [Bill(b) for b in results['bills']]
         
-        
\ No newline at end of file
+        </diff>
      <filename>nytcongressapi.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>9133768fc681f79df71b0bc14a8470caff2b994d</id>
    </parent>
  </parents>
  <author>
    <name>Chris Amico</name>
    <email>eyeseast@gmail.com</email>
  </author>
  <url>http://github.com/dwillis/python-nytcongressapi/commit/2c2a57beea06f594aeb1ff17c778a8b396dd4f83</url>
  <id>2c2a57beea06f594aeb1ff17c778a8b396dd4f83</id>
  <committed-date>2009-10-13T14:46:06-07:00</committed-date>
  <authored-date>2009-10-13T14:46:06-07:00</authored-date>
  <message>Added vote comparison, both a class and method</message>
  <tree>174e8bd5fa30117545d9313f4bf6be185cc89040</tree>
  <committer>
    <name>Chris Amico</name>
    <email>eyeseast@gmail.com</email>
  </committer>
</commit>
