Antecedentes Judiciales Colombia
Módulo NPM para consultar su antecedente judicial (Colombia).
Web Policia Nacional : https://antecedentes.policia.gov.co:7005/WebJudicial/index.xhtml
Instalación
$ npm i judicial-info
Primera prueba
const getJudicialInfo = ; ; async { try const response = await ; console; catch err console; };
Respuesta exitosa: error: null warn: null user: identification: '9173821' name: 'PIÑA ACOSTA RODOLFO RAFAEL' result: 'NO TIENE ASUNTOS PENDIENTES CON LAS AUTORIDADES JUDICIALES' Respuestas 1) Error error: "Debe ingresar el texto de la imagen.. Intente nuevamente" warn: "null Intente nuevamente" user: null 2) Warn error: "null Intente nuevamente" warn: "Captcha. El texto ingresado debe corresponder al de la imagen. Intente nuevamente" user: null