Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

judicial-info

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

judicial-info

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

  • 1.0.1
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
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

Package last updated on 02 May 2019

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc