<commit_before>go-nordnet
==========

Nordnet nEXT API Client<commit_msg>added first readme<commit_after>go-nordnet
==========

Nordnet nEXT API Client

```go
package main

import (
	"github.com/denro/go-nordnet/api"
	"github.com/denro/go-nordnet/util"
	"log"
)

var (
	pemData = []byte(`
-----BEGIN PUBLIC KEY-----
...
-----END PUBLIC KEY-----
`)
	user = []byte("...")
	pass = []byte("...")
)

func main() {
	cred, err := util.GenerateCredentials(user, pass, pemData)
	if err != nil {
		log.Fatalln(err.Error())
	}

	client := api.NewAPIClientwLogin(*cred)
  
  log.Println(client.Accounts())
}

``
{'fraction_non_alphanumeric': 0.2287145242070117, 'fraction_numerical': 0.0, 'mean_word_length': 3.411764705882353, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1933507', 'n_tokens_mistral': 245, 'n_tokens_neox': 237, 'n_words': 45}