@@ -97,7 +97,7 @@ def all_legislators_in_office(self, **kwargs):
97
97
Returns all legislators currently in office (non-paginated response).
98
98
99
99
For details see `Legislators API docs
100
- <http://sunlightlabs.github.io/congress/legislators.html>`
100
+ <http://sunlightlabs.github.io/congress/legislators.html>`_
101
101
"""
102
102
kwargs .update ({
103
103
"per_page" : "all"
@@ -109,7 +109,7 @@ def locate_legislators_by_lat_lon(self, lat, lon, **kwargs):
109
109
Find members of Congress by a latitude and longitude.
110
110
111
111
For details see `Legislators API docs
112
- <http://sunlightlabs.github.io/congress/legislators.html#methods/legislators-locate>`
112
+ <http://sunlightlabs.github.io/congress/legislators.html#methods/legislators-locate>`_
113
113
"""
114
114
kwargs .update ({
115
115
"latitude" : lat ,
@@ -122,7 +122,7 @@ def locate_legislators_by_zip(self, zipcode, **kwargs):
122
122
Find members of Congress by zip code.
123
123
124
124
For details see `Legislators API docs
125
- <http://sunlightlabs.github.io/congress/legislators.html#methods/legislators-locate>`
125
+ <http://sunlightlabs.github.io/congress/legislators.html#methods/legislators-locate>`_
126
126
"""
127
127
kwargs .update ({
128
128
"zip" : zipcode
@@ -134,7 +134,7 @@ def bills(self, **kwargs):
134
134
Search and filter through bills in Congress.
135
135
136
136
For details see `Bills API docs
137
- <http://sunlightlabs.github.io/congress/bills.html>`
137
+ <http://sunlightlabs.github.io/congress/bills.html>`_
138
138
"""
139
139
return self .get ('bills' , ** kwargs )
140
140
@@ -143,7 +143,7 @@ def bill(self, bill_id, **kwargs):
143
143
Retrieve a bill by bill_id.
144
144
145
145
For details see `Bills API docs
146
- <http://sunlightlabs.github.io/congress/bills.html>`
146
+ <http://sunlightlabs.github.io/congress/bills.html>`_
147
147
"""
148
148
kwargs .update ({
149
149
"bill_id" : bill_id
@@ -157,8 +157,8 @@ def search_bills(self, query, **kwargs):
157
157
"""
158
158
Search the full text of legislation, and other fields.
159
159
160
- For details see `Bills API docs
161
- <http://sunlightlabs.github.io/congress/bills.html#methods/bills-search>`
160
+ For details see `Bill search API docs
161
+ <http://sunlightlabs.github.io/congress/bills.html#methods/bills-search>`_
162
162
"""
163
163
kwargs .update ({
164
164
"query" : query
@@ -173,7 +173,7 @@ def upcoming_bills(self, **kwargs):
173
173
party leadership for upcoming House and Senate floor action.
174
174
175
175
For details see `Upcoming Bills API docs
176
- <http://sunlightlabs.github.io/congress/upcoming_bills.html>`
176
+ <http://sunlightlabs.github.io/congress/upcoming_bills.html>`_
177
177
"""
178
178
return self .get ('upcoming_bills' , ** kwargs )
179
179
@@ -182,7 +182,7 @@ def locate_districts_by_lat_lon(self, lat, lon, **kwargs):
182
182
Find congressional districts by a latitude and longitude.
183
183
184
184
For details see `Districts API docs
185
- <http://sunlightlabs.github.io/congress/districts.html>`
185
+ <http://sunlightlabs.github.io/congress/districts.html>`_
186
186
"""
187
187
kwargs .update ({
188
188
"latitude" : lat ,
@@ -195,7 +195,7 @@ def locate_districts_by_zip(self, zipcode, **kwargs):
195
195
Find congressional districts by a latitude and longitude.
196
196
197
197
For details see `Districts API docs
198
- <http://sunlightlabs.github.io/congress/districts.html>`
198
+ <http://sunlightlabs.github.io/congress/districts.html>`_
199
199
"""
200
200
kwargs .update ({
201
201
"zip" : zipcode ,
@@ -207,7 +207,7 @@ def committees(self, **kwargs):
207
207
Search and filter through committees in the House and Senate.
208
208
209
209
For details see `Committees API docs
210
- <http://sunlightlabs.github.io/congress/committees.html>`
210
+ <http://sunlightlabs.github.io/congress/committees.html>`_
211
211
"""
212
212
return self .get ('committees' , ** kwargs )
213
213
@@ -216,7 +216,7 @@ def amendments(self, **kwargs):
216
216
Search and filter through amendments in Congress.
217
217
218
218
For details see `Amendments API docs
219
- <http://sunlightlabs.github.io/congress/amendments.html>`
219
+ <http://sunlightlabs.github.io/congress/amendments.html>`_
220
220
"""
221
221
return self .get ('amendments' , ** kwargs )
222
222
@@ -225,7 +225,7 @@ def votes(self, **kwargs):
225
225
Search and filter through votes in Congress.
226
226
227
227
For details see `Votes API docs
228
- <http://sunlightlabs.github.io/congress/votes.html>`
228
+ <http://sunlightlabs.github.io/congress/votes.html>`_
229
229
"""
230
230
return self .get ('votes' , ** kwargs )
231
231
@@ -234,7 +234,7 @@ def floor_updates(self, **kwargs):
234
234
Search and filter through floor updates in the House and Senate.
235
235
236
236
For details see `Floor Updates API docs
237
- <http://sunlightlabs.github.io/congress/floor_updates.html>`
237
+ <http://sunlightlabs.github.io/congress/floor_updates.html>`_
238
238
"""
239
239
return self .get ('floor_updates' , ** kwargs )
240
240
@@ -243,7 +243,7 @@ def hearings(self, **kwargs):
243
243
Search and filter through committee hearings in the House and Senate.
244
244
245
245
For details see `Hearings API docs
246
- <http://sunlightlabs.github.io/congress/hearings.html>`
246
+ <http://sunlightlabs.github.io/congress/hearings.html>`_
247
247
"""
248
248
return self .get ('hearings' , ** kwargs )
249
249
@@ -252,7 +252,7 @@ def nominations(self, **kwargs):
252
252
Search and filter through presidential nominations in Congress.
253
253
254
254
For details see `Nominations API docs
255
- <http://sunlightlabs.github.io/congress/nominations.html>`
255
+ <http://sunlightlabs.github.io/congress/nominations.html>`_
256
256
"""
257
257
return self .get ('nominations' , ** kwargs )
258
258
0 commit comments