Replies: 4 comments 7 replies
-
|
Hi, your question should be well-answered by the search API documentation, so I ask this sincerely, and with a bit out of desperation: Did you read the documentation before asking this question? https://www.courtlistener.com/help/api/rest/v4/search/ Can you please let me know? It would be quite helpful to us. Thank you. |
Beta Was this translation helpful? Give feedback.
-
|
Yes, in fact, I had read that page and others on your site, seeking guidance on how to craft this query. I also tested this: in fact multiple variations on this: without changing the results. None of items returned had been filed before 2001. The order_by argument is not respected. If you can help me sort out how to perform such a query successfully, I'd be happy to offer a patch to your documentation to help the next person trying to do something similar. Thanks. |
Beta Was this translation helpful? Give feedback.
-
|
First thing I'd want to include would be a brief couple of paragraphs on importance of encoding the url with html entities. Even so, the sample provided is not getting me the intended results. I tried this: and this: Either way, the results look like this: These queries are not respecting my intended data constraints. Nor do I seem to be able to reverse the sort order. Still looking for a clue. |
Beta Was this translation helpful? Give feedback.
-
|
You're searching for amicus briefs filed by the ACLU before September 11, 2001, but your results show filings after that date. Try adjusting your query to include earlier years or use different keywords if needed. Here’s how you can refine your search: curl -o search-aclu-amicus-before9-11.json https://www.courtlistener.com/api/rest/v4/search/?q=amicus+%22American+Civil+Liberties+Union%22&date_created__gte=2001-09-12&page=1This URL will help you find amicus briefs filed on or after September 12, 2001. — Justin |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Running this query I hope to see amicus briefs filed by the aclu before 9-11.
Instead I see this:
what might I be missing here, please.
Beta Was this translation helpful? Give feedback.
All reactions