Skip to content

Commit 6667318

Browse files
committed
this field changed in the new Congress API
1 parent 6ec4234 commit 6667318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ After setting your API key simply ``import sunlight`` and start using the APIs::
4545
You can also import a specific API client::
4646

4747
>>> from sunlight import congress
48-
>>> pelosi = congress.legislators(lastname='Pelosi')[0]
48+
>>> pelosi = congress.legislators(last_name='Pelosi')[0]
4949

5050

5151
For details on how to use the various APIs check out the documentation for the

0 commit comments

Comments
 (0)