1.1.8 • Published 4 years ago

regon v1.1.8

Weekly downloads
116
License
MIT
Repository
github
Last release
4 years ago

REGON

Polish README

REGON is Polish company registry. This library is an interface connecting to BIR1.1 service.

Instalation

npm i regon or yarn add regon

Usage

First you need to obtain REGON API key (instruction).

Then:

// Typescript import
import { Regon } from 'Regon';
// CommonJS require
const Regon = require('Regon');

const regon = new Regon({ key: 'api_key' }); // or new Regon({ dev: true }) for testing purposes, key not required

const searchParameters: ParametryWyszukiwania = {
	Krs?: string,
	Krsy?: string[],
	Nip?: string,
	Nipy?: string[],
	Regon?: string,
	Regony14zn?: string[],
	Regony9zn?: string[]
};

regon.getCompanyData(searchParameters) // returns Promise
	.then( companyInfo => ... );
1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago