Socket
Socket
Sign inDemoInstall

ariregister

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ariregister

Dekodeeri äriregistri captcha


Version published
Maintainers
1
Created
Source

Get information about Estonian companies

Install

npm install ariregister

Requirements

  • tesseract 3.0 (instructions here)
  • imagemagick

Usage

Use the following command to load company data

ariregister(regCode, callback);

Where

  • regCode is the registration code of an Estonian company
  • callback (error, html) is the callback function to run once the data has been resolved

The html returned by the resolver includes company B-card in the HTML format

Example:

var ariregister = require("ariregister");
ariregister("123456", function(err, html){
    console.log(err || html);
});

Issues

Currently only company captchas (the small ones) are resolved but not the system wide "big" captchas that are tied to the user session. When such issues occur ("Could not generate new session" error), then you can generate a valid session by yourself in the browser and copy the session value to index.js:102

NB! If you are using this module, you are not complying with Äriregister terms of service, so I must declare that this module must not be used by anyone and it is created for testing purposes only.

License

MIT - copy and modify as you will

FAQs

Package last updated on 08 Nov 2012

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc