import juscraper as jus
tjro = jus.scraper('tjro')TJRO - Tribunal de Justica de Rondonia
Jurisprudence scraper for TJRO, via Elasticsearch API (JURIS).
| Feature | Available |
|---|---|
| cjsg | Yes |
Basic search
df = tjro.cjsg('dano moral', paginas=1)
print(df.shape)
df.head(3)Baixando páginas TJRO: 100%|██████████| 1/1 [00:00<00:00, 21290.88it/s]
(10, 13)
| processo | tipo | classe | orgao_julgador | orgao_julgador_colegiado | relator | assunto | data_julgamento | data_publicacao | ementa | grau_jurisdicao | sistema_origem | id_documento | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 7002737-13.2024.8.22.0005 | EMENTA | RECURSO INOMINADO CÍVEL | 2ª Turma Recursal - Gabinete 01 | 2ª Turma Recursal | ENIO SALVADOR VAZ | Inclusão Indevida em Cadastro de Inadimplentes | 2025-04-15 | NaT | Ementa:\nDIREITO DO CONSUMIDOR. RECURSO INOMIN... | 2 | PJESG | 27718444-PJESG |
| 1 | 7003840-67.2024.8.22.0001 | EMENTA | APELAÇÃO CÍVEL | Gabinete Des. Torres Ferreira | 3ª Câmara Cível | JOSE TORRES FERREIRA | Perdas e Danos | 2025-03-27 | NaT | EMENTA\nDIREITO DO CONSUMIDOR. RECURSO DE APEL... | 2 | PJESG | 27477641-PJESG |
| 2 | 7075911-33.2025.8.22.0001 | EMENTA | RECURSO INOMINADO CÍVEL | 2ª Turma Recursal - Gabinete 03 | 2ª Turma Recursal | GUILHERME RIBEIRO BALDAN | Indenização por Dano Material | 2026-05-15 | NaT | EMENTA\nTURMA RECURSAL. RECURSO INOMINADO. DIR... | 2 | PJESG | 31782710-PJESG |
Download and parse separately
cjsg is cjsg_download followed by cjsg_parse. Calling them separately lets you keep the raw responses before parsing.
brutos = tjro.cjsg_download('dano moral', paginas=1)
df_parsed = tjro.cjsg_parse(brutos)
print(df_parsed.shape)
df_parsed.head(3)Baixando páginas TJRO: 100%|██████████| 1/1 [00:00<00:00, 16384.00it/s]
(10, 13)
| processo | tipo | classe | orgao_julgador | orgao_julgador_colegiado | relator | assunto | data_julgamento | data_publicacao | ementa | grau_jurisdicao | sistema_origem | id_documento | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 7002737-13.2024.8.22.0005 | EMENTA | RECURSO INOMINADO CÍVEL | 2ª Turma Recursal - Gabinete 01 | 2ª Turma Recursal | ENIO SALVADOR VAZ | Inclusão Indevida em Cadastro de Inadimplentes | 2025-04-15 | NaT | Ementa:\nDIREITO DO CONSUMIDOR. RECURSO INOMIN... | 2 | PJESG | 27718444-PJESG |
| 1 | 7003840-67.2024.8.22.0001 | EMENTA | APELAÇÃO CÍVEL | Gabinete Des. Torres Ferreira | 3ª Câmara Cível | JOSE TORRES FERREIRA | Perdas e Danos | 2025-03-27 | NaT | EMENTA\nDIREITO DO CONSUMIDOR. RECURSO DE APEL... | 2 | PJESG | 27477641-PJESG |
| 2 | 7075911-33.2025.8.22.0001 | EMENTA | RECURSO INOMINADO CÍVEL | 2ª Turma Recursal - Gabinete 03 | 2ª Turma Recursal | GUILHERME RIBEIRO BALDAN | Indenização por Dano Material | 2026-05-15 | NaT | EMENTA\nTURMA RECURSAL. RECURSO INOMINADO. DIR... | 2 | PJESG | 31782710-PJESG |
Preview ementa
print(df['ementa'].iloc[0][:300])Ementa:
DIREITO DO CONSUMIDOR. RECURSO INOMINADO. INDENIZAÇÃO POR DANO MORAL. INSCRIÇÃO INDEVIDA EM ÓRGÃO DE PROTEÇÃO AO CRÉDITO. EXISTÊNCIA DE APONTAMENTO PRÉVIO LEGÍTIMO. INCIDÊNCIA DA SÚMULA 385 DO STJ. SENTENÇA MANTIDA. RECURSO NÃO PROVIDO.
1. Recurso Inominado interposto pelo autor em face da s
Using filters
Available filters: tipo (list), numero_processo, relator, orgao_julgador, orgao_julgador_colegiado, classe, instancia, termo_exato (bool), and the date range data_julgamento_inicio / data_julgamento_fim.
The old names nr_processo, magistrado, classe_judicial and data_inicio / data_fim are still accepted as deprecated aliases and emit a DeprecationWarning.
df_filtered = tjro.cjsg(
'direito',
data_julgamento_inicio='2024-01-01',
data_julgamento_fim='2024-06-30',
paginas=1,
)
print(df_filtered.shape)
df_filtered.head(3)Baixando páginas TJRO: 100%|██████████| 1/1 [00:00<00:00, 23831.27it/s]
(10, 13)
| processo | tipo | classe | orgao_julgador | orgao_julgador_colegiado | relator | assunto | data_julgamento | data_publicacao | ementa | grau_jurisdicao | sistema_origem | id_documento | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 0 | 7000081-93.2023.8.22.0013 | EMENTA | RECURSO INOMINADO CÍVEL | 1ª Turma Recursal - Gabinete 03 | 1ª Turma Recursal | JOAO LUIZ ROLIM SAMPAIO | Direito de Imagem | 2024-05-31 | NaT | EMENTA\nPRELIMINAR DE INÉPCIA DA INICIAL. PREL... | 2 | PJESG | 24144524-PJESG |
| 1 | 7005981-87.2023.8.22.0003 | EMENTA | RECURSO INOMINADO CÍVEL | 1ª Turma Recursal - Gabinete 03 | 1ª Turma Recursal | JOAO LUIZ ROLIM SAMPAIO | Direito de Imagem | 2024-06-30 | NaT | EMENTA\nRECURSO INOMINADO. OFENSA. DANOS MORAI... | 2 | PJESG | 24511296-PJESG |
| 2 | 7024791-53.2022.8.22.0001 | EMENTA | EMBARGOS DE DECLARAÇÃO CÍVEL | 2ª Turma Recursal - Gabinete 02 | 2ª Turma Recursal | ILISIR BUENO RODRIGUES | Direito de Imagem | 2024-06-17 | NaT | EMENTA\nTURMA RECURSAL. RECURSO INOMINADO. CON... | 2 | PJESG | 24356554-PJESG |
Repeated rows
The portal sometimes indexes the same decision twice, as two documents with different ids (_id and id_processo_documento in the raw response) and identical content. Both come back in the search, next to each other, so cjsg can return rows that are equal in every column; when the pair falls on a page boundary, the repeated row shows up on two consecutive pages. Measured on 2026-11-16: 4 such pairs in the first 400 results of 'dano moral', with no repeated _id. The scraper returns what the portal returns. The column id_documento carries the _id of each document, so the two rows of a pair differ only there: a repeated id_documento would be the same document downloaded twice, while equal rows with different ids are the portal’s own duplicates. If you need one row per decision, drop them with df.drop_duplicates(subset=df.columns.drop('id_documento')).