Skip to content

mikaeldui/upplysning-dotnet-client

Repository files navigation

Upplysning.se .NET Client

.NET CodeQL Analysis

With this library you can look up the addresses, birthdates and more of all Swedish residents. You can also do reverse lookups.Example usage: verify customer information at checkout.

You can install it using the following .NET CLI command:

dotnet add package MikaelDui.Upplysning.Client --version *

Example

Lookup the address of a person.

using UpplysningClient client = new();
var result = await client.GetPeopleAsync("Anna");
foreach(var person in result)
    Console.WriteLines($"{person.Name} lives on {person.Address} in {person.Address}.");