Skip to content

extracting dockets data in a date range using API call ? #4052

Closed Answered by mlissner
purnima110895 asked this question in Q&A
Discussion options

You must be logged in to vote

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:

GET https://pizzas.food/api/pizzas/?cook_date__gt=SOME_DATE&cook_date__lt=SOME_OTHER_DATE

Does that help?

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by purnima110895
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #4049 on May 16, 2024 16:41.