@eyedea-sockets/brreg
Version:
Integration with The Brønnøysund Register Centre API
39 lines (28 loc) • 1.29 kB
Markdown
# Syncano Socket for integration with the Brønnøysund Register Centre API
[](https://syncano.io)
[](https://circleci.com/gh/eyedea-io/syncano-socket-brreg/tree/master)

[](https://standardjs.com)
[](https://www.npmjs.com/package/@eyedea-sockets/brreg)

Main Socket features:
* **brreg/check-name** — check if the given company name exist
* **brreg/get** — get company by org number
## Getting Started
Install package in your project:
```sh
cd my_project
npm install @syncano/cli --save-dev
npm install @eyedea-sockets/brreg --save
npx s deploy
```
Use it:
```js
import Syncano from '@syncano/client'
const s = new Syncano(<instaneName>)
// Search for a user
const params = {
orgNumber: 915642349
}
const company = await s.get('brreg/get', params)
```