We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b41060a commit a329d84Copy full SHA for a329d84
README.markdown
@@ -27,13 +27,13 @@ You can specify the sections you want to pull from the RESTful API.
27
<pre><code>
28
sections = ('bill_id', 'sponsor', 'committees')
29
bill = Bill.get_bill(bill_id='hr3-112', sections=sections)
30
-print bill['sponsor_id']
+print bill['sponsor']
31
</pre></code>
32
33
Otherwise, it uses the default that's specified in the library.
34
35
36
-bill = RTC.Bill.get_bill(bill_id)
+bill = RTC.Bill.get_bill(bill_id='hr3-112')
37
print bill['sponsor_id'], bill['vetoed'], bill['last_action']['text']
38
39
0 commit comments