pn

package module
v0.0.0-...-683ae91 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2022 License: MIT Imports: 6 Imported by: 0

README

pn

Retrieve information from Swedish Personal Identity Number (personnummer)

This package uses the website mrkoll.se to retrieve: First name, last name and address via the Swedish Personal Identity Number.

Disclaimer

Any GDPR considerations are out of scope for this library. It fetches information that is readily available online.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Firstname string
	Lastname  string
	Address   string
}

func GetInfo

func GetInfo(pn interface{}) (Info, error)

func GetInfoWithClient

func GetInfoWithClient(pn interface{}, client *http.Client) (Info, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL