Replies: 3 comments 2 replies
-
This is a messy data problem, I'm afraid. When you use the docket endpoint it's not a fuzzy search, it's an exact match. In this case, the URL you should have been using is: https://www.courtlistener.com/api/rest/v3/dockets/?docket_number=16%E2%80%93992. The difference is that this case had an em dash in the docket number, and a period at the end. I just cleaned it up though, so your original query now works. That's good, but using the API probably isn't the best way to do this, for the reasons mentioned. If you're looking up something from a web URL, I'd just use the cluster API: https://www.courtlistener.com/api/rest/v3/clusters/4403794/ I've made an issue to clean up em-dashes here: #3465 |
Beta Was this translation helpful? Give feedback.
-
Thanks for the reply, another issue now with same case, I see a discrepancy in data same opinion: https://www.courtlistener.com/api/rest/v3/opinions/4181047/ Returns: which one is trusted ? |
Beta Was this translation helpful? Give feedback.
-
Thanks again, so how would I get per curiam opinions/clusters using the author_str in the api, that filed after particular date. |
Beta Was this translation helpful? Give feedback.
-
Hey,
opinion: https://www.courtlistener.com/opinion/4403794/pavan-v-smith/
tried to located in api using Docket Number: 16–992 as appears in the website using the below request:
https://www.courtlistener.com/api/rest/v3/dockets/?docket_number=16-992
However the results are for different cases.
Also, what's the best way to locate opinions in the api given the web url of the opinion ?
Beta Was this translation helpful? Give feedback.
All reactions