Skip to content

Commit fc1e731

Browse files
author
Paul Tagliamonte
committed
Adding a get-bill-by-id method to OpenStates.
1 parent a518e1c commit fc1e731

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

sunlight/services/openstates.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,11 @@ def bills(self, **kwargs):
4343
"""
4444
return self.get(["bills"], **kwargs)
4545

46+
def bill(self, bill_id, **kwargs):
47+
"""
48+
"""
49+
return self.get(["bills", bill_id], **kwargs)
50+
4651
def bill_detail(self, state, session, bill_id, chamber=None):
4752
"""
4853
Get full information on a single bill from the Open States API given

0 commit comments

Comments
 (0)