This example generates a docket sheet for a case using CourtAPI.
The Event Payload for this function needs your appId, appSecret, the court, and caseNumber.
E.g.:
{
"appId": "your-app-id",
"appSecret": "your-app-secret",
"court": "orbtrain",
"caseNumber": "6:14-bk-63619"
}The response is JSON that contains a single key: html with the html page as
the content. You can pipe the output through extract-html.js program in
../tools to get the HTML string.