Socket
Socket
Sign inDemoInstall

judicial-info

Package Overview
Dependencies
78
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    judicial-info

Módulo NPM para consultar su antecedente judicial (Colombia).


Version published
Weekly downloads
3
decreased by-25%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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 } = require('judicial-info');

getJudicialInfo('9173821')
  .then(res => console.log(res))
  .catch(err => console.log(err));

(async () => {
  try {
    const response = await getJudicialInfo('9173821');
    console.log(response);
  } catch (err) {
    console.log(err);
  }
})();
  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 fallida (Seguir intentando)
  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
    }

FAQs

Last updated on 02 May 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc