Unofficial Python SDK for CourtListener's RESTful API
An unofficial, robust, production-ready Python SDK for the CourtListener API.
⚠️ Important Notice: This is an unofficial SDK developed by the community and is not affiliated with, endorsed by, or officially supported by CourtListener or Free Law Project.
.env
file or direct tokenbash
pip install -r requirements.txt
python
from courtlistener import CourtListenerClient
client = CourtListenerClient()
dockets = client.dockets.list_dockets(page=1)
for docket in dockets:
print(docket.case_name, docket.docket_number)
.env
file:
COURTLISTENER_API_TOKEN=your_token_here
Or pass it directly:
python
client = CourtListenerClient(api_token="your_token_here")
tests/manual_debug/
. See the documentation for details on running and extending tests.docs/
, including:
CHANGELOG.md
for release notes.LICENSE
.--- For more, see the full documentation.