<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -29,6 +29,14 @@ class Member(NYTCongressApiObject):
     def __repr__(self):
         return u'%s (%s-%s)' % (unicode(self.name).encode('utf-8'), self.roles[0]['party'], self.roles[0]['state'])
 
+    @property
+    def party(self):
+        return self.roles[0]['party']
+
+    @property
+    def state(self):
+        return self.roles[0]['state']
+
 class MemberTotal(NYTCongressApiObject):
     def __repr__(self):
         return '%s' % unicode(self.name).encode('utf-8')</diff>
      <filename>nytcongressapi.py</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>ed3284d87fe9c8e0b43a756a44998a147ce9cc8b</id>
    </parent>
  </parents>
  <author>
    <name>Chris Amico</name>
    <email>eyeseast@gmail.com</email>
  </author>
  <url>http://github.com/dwillis/python-nytcongressapi/commit/83f9b27db2936fd6424bf7e9a64daa110c8414bb</url>
  <id>83f9b27db2936fd6424bf7e9a64daa110c8414bb</id>
  <committed-date>2009-10-15T07:40:33-07:00</committed-date>
  <authored-date>2009-10-14T15:15:46-07:00</authored-date>
  <message>Added properties to Member to align it more with MemberRole. Both now have party and state attributes, so we can use them somewhat interchangeably. The reasoning behind this is that nytcongress.members.get returns a Member, and nytcongress.members.filter returns a list of MemberRoles, and it was becoming a pain to check which I had each time.</message>
  <tree>9ed3e40f57ba8e603b904e95a4b98c3308b09321</tree>
  <committer>
    <name>Chris Amico</name>
    <email>eyeseast@gmail.com</email>
  </committer>
</commit>
