Skip to content

Florida API Parsers#1842

Open
MorganBennetDev wants to merge 25 commits intomainfrom
morgan/1782-florida-parsers
Open

Florida API Parsers#1842
MorganBennetDev wants to merge 25 commits intomainfrom
morgan/1782-florida-parsers

Conversation

@MorganBennetDev
Copy link
Copy Markdown
Contributor

Resolves #1782

I still need to create IDs for Florida courts and use them in output instead of the internal Florida IDs and do a little post-processing to extract transfers and other data. However, this is mostly complete so I'd like to get review started a bit early.

Summary

Add Pydantic dependency to simplify JSON data validation and parsing.

Create base classes for parser outputs to guarantee certain data is always present.

Create a slightly modified parser base class.

Create parsers for Florida case list, case info, case party list, case docket entry list, and courts endpoints.

Comment thread juriscraper/state/florida/docket_entries.py
Comment thread juriscraper/state/parser.py Outdated
Comment thread juriscraper/state/florida/cases.py Outdated
@Brennan-Chesley-FLP
Copy link
Copy Markdown
Contributor

I like it! I appreciate that the majority of this is Pydantic models and validators with some aliases to map to internally reasonable names. I like that we can also subclass these models with extra="forbid" to verify we didn't miss any fields once we have all the data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: To Do

Development

Successfully merging this pull request may close these issues.

Implement parsers for Florida court cases

3 participants