SanctionsSearch.Api2.Sdk 1.0.3

dotnet add package SanctionsSearch.Api2.Sdk --version 1.0.3                
NuGet\Install-Package SanctionsSearch.Api2.Sdk -Version 1.0.3                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SanctionsSearch.Api2.Sdk" Version="1.0.3" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SanctionsSearch.Api2.Sdk --version 1.0.3                
#r "nuget: SanctionsSearch.Api2.Sdk, 1.0.3"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SanctionsSearch.Api2.Sdk as a Cake Addin
#addin nuget:?package=SanctionsSearch.Api2.Sdk&version=1.0.3

// Install SanctionsSearch.Api2.Sdk as a Cake Tool
#tool nuget:?package=SanctionsSearch.Api2.Sdk&version=1.0.3                

Sanctions Search API v2 - Client SDK

NuGet Version NuGet Downloads Documentation

Package

This package contains an API Client for use with our public API (v2).

Sanctions Search is an anti-money laundering, financial sanctions, and compliance platform.

Our platform gives businesses an affordable solution to ensure compliance with local and international laws regarding:

  • Anti-Money Laundering (AML)
  • Financial Sanctions
  • Politically Exposed Persons/Entities (PEP)
  • Identity Verification
  • Document Capture
  • Criminal Records Checks (DBS / CRB)
  • And more...

For more information please see our website: Sanctions Search

Usage

This is a client API project for our Public API. You can use this package to seamlessly access our API with minimal effort.

using SanctionsSearch.Api2.Sdk;
using SanctionsSearch.Api2.ServiceModel.Operations.Searches;

// In your host or app startup...
public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
{
    // Using IConfiguration (appsettings.json)
    services.AddSanctionsSearchApiClient(configuration);    
    
    // Using options delegate
    services.AddSanctionsSearchApiClient(options =>
    {
        options.ApiUserId = "Your-Api-UserId"; 
        options.ApiKey = "Your-Api-Key"; // Do not store your API key in your code
    });
}

// Example class registered in your DI container
public class Example(ISanctionsSearchApiClient apiClient)
{    
    // An example "Add Sanctions Search" request
    public void AddSanctionsSearchExample(string fullname, string dateOfBirth, string address)
    {        
        // Call the AddSanctionsSearch method passing in the client information
        var result = apiClient.AddSanctionsSearch(new AddSearch
        {
            Request =
            {
                Name = fullname,
                DateOfBirth = dateOfBirth,
                Address = address,
                SelectedLists = ["HMTSL", "OFACL"]
            }
        });

        // Result contains information about the searched for person
        var sanctionsSearchId = result.Data.SearchRecord.Id;
        var numberOfResults = result.Data.SearchRecord.NumOfResults;
    }
}
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 is compatible. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 31 11/22/2024
1.0.1 99 11/10/2024
1.0.0.1 82 11/10/2024

Fixes for some method names and parameters