/NordigenDotNet

.NET client for Nordigen API

Primary LanguageC#Apache License 2.0Apache-2.0

Nuget Nuget Codecov Run tests

NordigenDotNet

.NET client for the Nordigen API.

Usage

A separate NuGet package is provided for ASP.NET Core (IConfiguration and IServiceCollection) . For use outside of ASP.NET Core, see the configuration.

  1. Add configuration (for optional values see options)

    "Nordigen": {
        "SecretId": "",
        "SecretKey": ""
    }
  2. Register required services (see tests)

    serviceCollection
        .AddSingleton<IClock>(SystemClock.Instance)
        .AddSingleton(DateTimeZoneProviders.Tzdb)
        .AddNordigenDotNet(configuration);
  3. (Optional) Configure retries with Polly (NuGet package)

    serviceCollection
        .AddNordigenDotNet(configuration)
        .AddPolicyHandler(...);
  4. Use INordigenClient to access all endpoints, or one of the specific clients defined in INordigenClient

Known issues

  1. Does not support the premium endpoints
  2. Due to incomplete documentation and differences between data returned by each bank, not all data returned by the Nordigen API might be captured. When using the client with a new institution, consider inspecting the raw data returned by Nordigen. If something is missing, please create an issue