Skip to content

Commit 72c81d0

Browse files
committed
Fix docstring links for congress.
1 parent a61c6db commit 72c81d0

File tree

1 file changed

+16
-16
lines changed

1 file changed

+16
-16
lines changed

sunlight/services/congress.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ def all_legislators_in_office(self, **kwargs):
9797
Returns all legislators currently in office (non-paginated response).
9898
9999
For details see `Legislators API docs
100-
<http://sunlightlabs.github.io/congress/legislators.html>`
100+
<http://sunlightlabs.github.io/congress/legislators.html>`_
101101
"""
102102
kwargs.update({
103103
"per_page": "all"
@@ -109,7 +109,7 @@ def locate_legislators_by_lat_lon(self, lat, lon, **kwargs):
109109
Find members of Congress by a latitude and longitude.
110110
111111
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>`_
113113
"""
114114
kwargs.update({
115115
"latitude": lat,
@@ -122,7 +122,7 @@ def locate_legislators_by_zip(self, zipcode, **kwargs):
122122
Find members of Congress by zip code.
123123
124124
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>`_
126126
"""
127127
kwargs.update({
128128
"zip": zipcode
@@ -134,7 +134,7 @@ def bills(self, **kwargs):
134134
Search and filter through bills in Congress.
135135
136136
For details see `Bills API docs
137-
<http://sunlightlabs.github.io/congress/bills.html>`
137+
<http://sunlightlabs.github.io/congress/bills.html>`_
138138
"""
139139
return self.get('bills', **kwargs)
140140

@@ -143,7 +143,7 @@ def bill(self, bill_id, **kwargs):
143143
Retrieve a bill by bill_id.
144144
145145
For details see `Bills API docs
146-
<http://sunlightlabs.github.io/congress/bills.html>`
146+
<http://sunlightlabs.github.io/congress/bills.html>`_
147147
"""
148148
kwargs.update({
149149
"bill_id": bill_id
@@ -157,8 +157,8 @@ def search_bills(self, query, **kwargs):
157157
"""
158158
Search the full text of legislation, and other fields.
159159
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>`_
162162
"""
163163
kwargs.update({
164164
"query": query
@@ -173,7 +173,7 @@ def upcoming_bills(self, **kwargs):
173173
party leadership for upcoming House and Senate floor action.
174174
175175
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>`_
177177
"""
178178
return self.get('upcoming_bills', **kwargs)
179179

@@ -182,7 +182,7 @@ def locate_districts_by_lat_lon(self, lat, lon, **kwargs):
182182
Find congressional districts by a latitude and longitude.
183183
184184
For details see `Districts API docs
185-
<http://sunlightlabs.github.io/congress/districts.html>`
185+
<http://sunlightlabs.github.io/congress/districts.html>`_
186186
"""
187187
kwargs.update({
188188
"latitude": lat,
@@ -195,7 +195,7 @@ def locate_districts_by_zip(self, zipcode, **kwargs):
195195
Find congressional districts by a latitude and longitude.
196196
197197
For details see `Districts API docs
198-
<http://sunlightlabs.github.io/congress/districts.html>`
198+
<http://sunlightlabs.github.io/congress/districts.html>`_
199199
"""
200200
kwargs.update({
201201
"zip": zipcode,
@@ -207,7 +207,7 @@ def committees(self, **kwargs):
207207
Search and filter through committees in the House and Senate.
208208
209209
For details see `Committees API docs
210-
<http://sunlightlabs.github.io/congress/committees.html>`
210+
<http://sunlightlabs.github.io/congress/committees.html>`_
211211
"""
212212
return self.get('committees', **kwargs)
213213

@@ -216,7 +216,7 @@ def amendments(self, **kwargs):
216216
Search and filter through amendments in Congress.
217217
218218
For details see `Amendments API docs
219-
<http://sunlightlabs.github.io/congress/amendments.html>`
219+
<http://sunlightlabs.github.io/congress/amendments.html>`_
220220
"""
221221
return self.get('amendments', **kwargs)
222222

@@ -225,7 +225,7 @@ def votes(self, **kwargs):
225225
Search and filter through votes in Congress.
226226
227227
For details see `Votes API docs
228-
<http://sunlightlabs.github.io/congress/votes.html>`
228+
<http://sunlightlabs.github.io/congress/votes.html>`_
229229
"""
230230
return self.get('votes', **kwargs)
231231

@@ -234,7 +234,7 @@ def floor_updates(self, **kwargs):
234234
Search and filter through floor updates in the House and Senate.
235235
236236
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>`_
238238
"""
239239
return self.get('floor_updates', **kwargs)
240240

@@ -243,7 +243,7 @@ def hearings(self, **kwargs):
243243
Search and filter through committee hearings in the House and Senate.
244244
245245
For details see `Hearings API docs
246-
<http://sunlightlabs.github.io/congress/hearings.html>`
246+
<http://sunlightlabs.github.io/congress/hearings.html>`_
247247
"""
248248
return self.get('hearings', **kwargs)
249249

@@ -252,7 +252,7 @@ def nominations(self, **kwargs):
252252
Search and filter through presidential nominations in Congress.
253253
254254
For details see `Nominations API docs
255-
<http://sunlightlabs.github.io/congress/nominations.html>`
255+
<http://sunlightlabs.github.io/congress/nominations.html>`_
256256
"""
257257
return self.get('nominations', **kwargs)
258258

0 commit comments

Comments
 (0)