extracting dockets data in a date range using API call ? #4052
-
I am able to get the data for single date filtering - But the error arises when giving a date range - Please help. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Have you reviewed the filtering documentation: https://www.courtlistener.com/help/api/rest/#filtering |
Beta Was this translation helpful? Give feedback.
-
Yes @mlissner , But in the documentation , I didn't find any date range filtering , is it possible to pass date range in the API call ? |
Beta Was this translation helpful? Give feedback.
-
If you do an OPTIONS request to the endpoint, it'll tell you all the filters that are available. To do a range, simply use two filters on the same field, each with: For example, notionally:
Does that help? |
Beta Was this translation helpful? Give feedback.
-
Yes, thats helpful. Thank you @mlissner !! |
Beta Was this translation helpful? Give feedback.
If you do an OPTIONS request to the endpoint, it'll tell you all the filters that are available. To do a range, simply use two filters on the same field, each with:
__gt
and__lt
.For example, notionally:
Does that help?