https://github.com/root4loot/proffno
Get norwegian subsidiaries company names
https://github.com/root4loot/proffno
Last synced: about 1 year ago
JSON representation
Get norwegian subsidiaries company names
- Host: GitHub
- URL: https://github.com/root4loot/proffno
- Owner: root4loot
- License: mit
- Created: 2023-10-12T13:19:59.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-24T13:20:37.000Z (over 1 year ago)
- Last Synced: 2025-02-24T14:27:08.315Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# proffno
[](https://github.com/root4loot/proffno/actions/workflows/build.yml)
A simple package used to obtain a list of subsidiaries for a Norwegian company based on ownership percentage and depth level. Parses data from [proff.no](https://proff.no)
## Installation
```
go get github.com/root4loot/proffno
```
## Usage
```go
package main
import (
"fmt"
"github.com/root4loot/proffno"
)
func main() {
// Get subsidiaries with ownership percentage greater than 50%
subs, _ := proffno.GetSubsidiaries("DnB Bank ASA", 50)
for _, sub := range subs {
fmt.Println(sub.Name)
}
}
```
### Output
```
DnB Livsforsikring AS
DnB Eiendomsutvikling AS
Imove AS
B&R Holding AS
DnB Asset Management Holding AS
DnB Invest Holding AS
DnB Eiendom AS
Godskipet 9 AS
DnB Næringsmegling AS
Godfjellet AS
Ocean Holding AS
DnB Ventures AS
DnB Gjenstandsadministrasjon AS
DnB Boligkreditt AS
```