Geezeo.SDK.Aggregation 2.0.0.9

dotnet add package Geezeo.SDK.Aggregation --version 2.0.0.9
                    
NuGet\Install-Package Geezeo.SDK.Aggregation -Version 2.0.0.9
                    
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="Geezeo.SDK.Aggregation" Version="2.0.0.9" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Geezeo.SDK.Aggregation" Version="2.0.0.9" />
                    
Directory.Packages.props
<PackageReference Include="Geezeo.SDK.Aggregation" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Geezeo.SDK.Aggregation --version 2.0.0.9
                    
#r "nuget: Geezeo.SDK.Aggregation, 2.0.0.9"
                    
#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.
#:package Geezeo.SDK.Aggregation@2.0.0.9
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Geezeo.SDK.Aggregation&version=2.0.0.9
                    
Install as a Cake Addin
#tool nuget:?package=Geezeo.SDK.Aggregation&version=2.0.0.9
                    
Install as a Cake Tool

Geezeo .net SDK

Geezeo Software Developers Kit for the Geezeo Platform API for Microsoft .net 4.5.2 and above.

Overview

The Geezeo .net SDK accelorates FI's integrating the Geezeo platform API's into their .net solutions. The Geezeo SDK covers the entire platform except aggregation.

Benefits

The SDK provides

  • Concrete class for Aggregate API endpoints (both async and synchronous calls)
  • Data entities representing the Aggregate API reguest / response messages.

Getting started

Getting started is easy. Either clone/fork this project and build it yourself, or install via nuget.

Install-Package Geezeo.SDK.Aggregation 

Help docs

We are expanding our API docs to include details on the .net SDK. For now, here are some samples to get started.

Create the SDK

There are 2 ways to initilaize the SDK:

Passing in the API Key, Hostname, and User Id
var sdk = new SDK(apiKey, hostName, userId);

If you would like to use Json Web Tokens (JWT) you can also pass in your Partner Id

var sdk = new SDK(apiKey, hostName, userId, partnerId);

You can also control the time to live (TTL) in seconds of Json Web Tokens by passing in additional parameter as a string (default is "3600")

var sdk = new SDK(apiKey, hostName, userId, partnerId, ttl);
You are also able to set all parameters via an configuration file
var sdk = new SDK(userId);
Here is the config sample:
 <appSettings>
        <add key="ApiKey" value="KEY GOES HERE" />
        <add key="HostName" value="HOST GOES HERE" />		
</appSettings>
If you want to use JWT then will need to add your Partner Id as well.
 <appSettings>
        <add key="ApiKey" value="KEY GOES HERE" />
        <add key="HostName" value="HOST GOES HERE" />
		<add key="PartnerId" value="PARTNER ID GOES HERE" />
</appSettings>

You can also control the time to live (TTL) for all Json Web Tokens by adding this setting to your config file

 <appSettings>
		<add key="timeToLive" value="VALUE IN SECONDS GOES HERE" />
</appSettings>

Examples

Get a list of institutions
var sdk = new SDK(userId);
var institutions = sdk.Aggregation.GetFeaturedInstitutions();
Get a list of institutions and do not use JWT
var sdk = new SDK(userId);
sdk.ClearJWT();
var institutions = sdk.Aggregation.GetFeaturedInstitutions();
Get a list of accounts and update them where necessary
var sdk = new SDK(userId);
var accounts = sdk.Aggregation.GetAllAccounts();
foreach (var account in accounts.Items) {
    if (account.NeedsToBeUpdated) {        
        var prompt = sdk.Aggregation.GetUpdateAuthPrompt(account);
        Dictionary<string,string> newCredentials = {
            {"parameterId1","value1"},
            {"parameterId2","value2"}
        };

        sdk.Aggregation.UpdateAuthentication(prompt, newCredentials);
    }
}
Product Compatible and additional computed target framework versions.
.NET Framework net452 is compatible.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 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
2.0.0.9 981 10/30/2018
2.0.0.8 1,156 7/30/2018
2.0.0.7 1,012 7/23/2018
2.0.0.6 1,040 7/20/2018
2.0.0.5 1,223 7/18/2018
2.0.0.4 1,241 7/12/2018
2.0.0.3 1,269 6/25/2018
2.0.0.2 1,207 6/14/2018
2.0.0.1 1,291 5/30/2018
2.0.0 1,236 5/22/2018