Replies: 2 comments 1 reply
-
The APIs are invite only, so if you are reading this and have not reached out to us via email already, please start there. After being approved as an uploader, we'll give your account upload access and you'll be able to send us content. Initial Caveats
The Set UpWith those caveats out of the way, let's get into the details. Let's start by downloading some HTML and a PDF from PACER so we have something to work with. This uses Juriscraper, our tool for scraping data. Use poetry or your favorite env thing to get set up and install Juriscraper:
You should now be able to use Juriscraper. Check if you like:
A Random Case We'll UseFor this exercise we'll use this randomly-selected bankruptcy case: Universal Solar America, LLC, 2:23-bk-06491, (Bankr. D. Ariz.) It has the following metadata:
It currently looks like this in CourtListener: Getting Some DataUsing Juriscraper, we can get a case's full HTML by logging in, and then querying it:
We now have Let's download a PDF too. Let's do doc number 2, with pacer_doc_id of
We now have a PDF called Uploading Content (Finally)Here's the process for uploading content:
ConclusionLessons:
Thanks for contributing to RECAP! Addendum Q&AsWhat about PACER attachments?Do to these, you'll need to upload the docket, then the attachment page. Then you'll be able to upload the attachment itself by including the |
Beta Was this translation helpful? Give feedback.
-
Any chance that the restricted apis (recap, attorney) can respond to OPTIONS requests without being specially provisioned? |
Beta Was this translation helpful? Give feedback.
-
Hi, I'm a legal tech organization that has a lot of PACER data. How do I share it with you using your APIs?
Beta Was this translation helpful? Give feedback.
All reactions