@pobidowski/gus-api-regon
v1.0.2
Published
Small service to connect to GUS API REGON
Downloads
33
Readme
gus-api-regon
Small service to connect to GUS API REGON
Features
- Connect You to GUS API REGON
- Fully in TypeScript
Quickstart
Installation
npm install @pobidowski/gus-api-regon
or
yarn add @pobidowski/gus-api-regon
Example usage
import { GUSApiRegon } from '@pobidowski/gus-api-regon';
const service = new GUSApiRegon('YOUR_API_KEY');
const results = await service.search({
Nip: '1234567890'
});
console.log('Results', results);
Search params
| Name | Example | Optional | | ---------- | ----------------------------- | --------- | | Nip | 9471986146 | true | | Krs | 0000090577 | true | | Regon | 008376680 or 00000008376680 | true | | Krsy | 0000090577,0000090577 | true | | Nipy | 9471986146,9471986146 | true | | Regony14zn | 00000008376680,00000008376680 | true | | Regony9zn | 008376680,008376680 | true | |