GBLS / docassemble-MACourts

List Massachusetts Courts in Docassemble
MIT License
5 stars 11 forks source link

docassemble.MACourts

A utility package that includes JSON files representing all of the courts in Massachusetts.

Courts automatically scraped from Mass.gov and geocoded with Google Maps.

If the court has a PO box, the PO box will be available in court.address.orig_address

Tests

Mypy:

mypy .

Unittests:

python3 -m unittest discover docassemble

How to update lower_court_code

When e-filing into appeals cases, Tyler expects a very specific code for the lower court that the case is being appealed from. We got a confirmation from Tyler that these values aren't publicly available, so for now they are stored in the tyler_lower_court_code and tyler_prod_lower_court_code attributes for each object.

These values may occasionally change. And again, as we've gotten little information from Tyler about these values, we don't know when these values change. The only indication is if you start receiving 168, Lower court code not found errors when filing.

To update these values:

The values we need will be in the JSON returned from that endpoint, under obj["DropDownsLocation"]["LowerCourtCodes"].

Note: I wasn't able to give Lower Court codes to the "Metro South Housing Courts". Tyler's list only includes: