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

bir-regon-msych

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

bir-regon-msych

Polish legal company data query API

  • 0.2.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

BIR Regon query API

Check publicly available data regarding legally registered companies in Poland.

To use this package in production you need to get a private API key. See Further reading for more information.

Example usage

const BirAPI = require('bir-regon');

let testURL = 'https://wyszukiwarkaregontest.stat.gov.pl/wsBIR/UslugaBIRzewnPubl.svc';
let testApiKey = 'abcde12345abcde12345';
let testNIP = '7740001454';

let connectionAPI = new BirAPI(testURL);

console.log('Beginning login');
connectionAPI.login(testApiKey)
  .then(sessionID => {
    console.log('Logged in, session id', sessionID);
    return connectionAPI.query(testNIP);
  })
  .then(queryResults => {
    console.log('Got results');
    console.log(queryResults);
  })
  .catch(error => {
    console.error('Request error', error);
  });

Further reading

More information is available on the Polish BIP pages.

Author

The author of this package is Grzegorz Rozdzialik. edit by Mateusz Sych

FAQs

Package last updated on 20 Feb 2018

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