Going.Plaid
6.31.2
Prefix Reserved
See the version list below for details.
dotnet add package Going.Plaid --version 6.31.2
NuGet\Install-Package Going.Plaid -Version 6.31.2
<PackageReference Include="Going.Plaid" Version="6.31.2" />
paket add Going.Plaid --version 6.31.2
#r "nuget: Going.Plaid, 6.31.2"
// Install Going.Plaid as a Cake Addin #addin nuget:?package=Going.Plaid&version=6.31.2 // Install Going.Plaid as a Cake Tool #tool nuget:?package=Going.Plaid&version=6.31.2
Going.Plaid
What is Going.Plaid?
Going.Plaid is a library for interacting with Plaid's banking APIs. See their documentation here. It is supported for .net standard 2.0, .net core 3.1, and .net 5.0+.
Where can I get it?
Going.Plaid is available at nuget.org.
Package Manager PM > Install-Package Going.Plaid
How it works?
You can make all calls to Plaid's API via the Going.Plaid.PlaidClient
class.
var client = new PlaidClient(
Environment.Sandbox);
// Retrieving a user's recent transactions.
var result = await client.TransactionsGetAsync(
new()
{
Secret = "<secret>",
ClientId = "<client_id>",
AccessToken = "<access_token>",
});
Usage
You may provide secret
and clientId
to the constructor as follows:
var client = new PlaidClient(
Environment.Sandbox,
secret: "<secret>",
clientId: "<client_id>");
// Retrieving a user's recent transactions.
var result = await client.TransactionsGetAsync(
new()
{
AccessToken = "<access_token>",
});
This will allow you to save a single PlaidClient
in the DI system without tracking secret
and clientId
separately.
PlaidClient
is comfortable being used as a single-instance class in this manner.
Example
Please visit this repo and download to review a working example of how to use this library and the Plaid API.
.NET Core Configuration Options
Easy to use:
Call services.AddPlaid(IConfigurationRoot)
or services.AddPlaid(IConfiguration)
. This will automatically bind options
from the provided configuration section or the Plaid
section of the root; configure a named HttpClient
for Going.Plaid;
and configure PlaidClient
as a singleton.
IHttpClientFactory
Going.Plaid supports the IHttpClientFactory
for correct usage of HttpClient
, as described here.
If you choose not to call .AddPlaid()
, because you need to customize your DI structure, it is recommended that you call
services.AddPlaidClient()
to properly configure the IHttpClientFactory
for Going.Plaid usage.
IOptions
Support
Going.Plaid supports configuration from any configuration source via the IOptions
pattern.
You can provide any configuration section to .AddPlaid()
and the options will be automatically bound.
Alternatively, you may call services.Configure<PlaidOptions>();
to configure the PlaidOption
manually.
Once done, you can then add PlaidClient
as a singleton by calling services.AddSingleton<PlaidClient>()
.
Converters Support
There are several converters that Going.Plaid uses to serialize and deserialize data to the Plaid service.
These converters are automatically used internally for all api calls to Plaid. However, if you need to do
any serialization or deserialization of your own (for example, if you wish to pass Going.Plaid.Link.OnSuccessMetadata
directly from the browser to the web server), then you may need to add these converters to the ASP.NET
JSON serializer. The easiest way to do this is as follows:
services.Configure<JsonOptions>(o =>
{
o.SerializerOptions.AddPlaidConverters();
});
This will automatically add the converters to the default options for ASP.NET JSON serializer. Otherwise,
you can manually add the types found under Going.Plaid.Converters
to the JsonSerializationOptions.Converters
list of converters.
API Version
Going.Plaid currently targets Plaid API version 2020-09-14
only.
Product | Versions 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 was computed. |
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. |
-
.NETStandard 2.0
- Microsoft.Extensions.Configuration.Abstractions (>= 3.1.31)
- Microsoft.Extensions.Http (>= 3.1.31)
- Microsoft.Extensions.Logging (>= 3.1.31)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 3.1.31)
- System.Net.Http.Json (>= 5.0.0)
- System.Text.Json (>= 6.0.10)
-
net6.0
- Microsoft.Extensions.Configuration.Abstractions (>= 6.0.0)
- Microsoft.Extensions.Http (>= 6.0.0)
- Microsoft.Extensions.Logging (>= 6.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 6.0.0)
- System.Net.Http.Json (>= 6.0.0)
- System.Text.Json (>= 6.0.10)
-
net8.0
- Microsoft.Extensions.Configuration.Abstractions (>= 8.0.0)
- Microsoft.Extensions.Http (>= 8.0.1)
- Microsoft.Extensions.Logging (>= 8.0.1)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 8.0.0)
- System.Net.Http.Json (>= 8.0.1)
- System.Text.Json (>= 8.0.5)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Going.Plaid:
Package | Downloads |
---|---|
App.Framework
This package contains the basic framework for any .Net 6 API including standard caching, enums, dictonaries, interfaces, etc. |
|
ICDC.SharedLibrary
iCodice LLC shared libraries. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.31.3 | 2,010 | 12/3/2024 |
6.31.2 | 99 | 12/3/2024 |
6.31.1 | 2,087 | 11/18/2024 |
6.31.0 | 2,435 | 11/14/2024 |
6.30.0 | 24,499 | 10/9/2024 |
6.29.0 | 11,745 | 9/6/2024 |
6.28.1 | 52,952 | 7/15/2024 |
6.28.0 | 652 | 7/5/2024 |
6.27.0 | 2,278 | 6/19/2024 |
6.26.0 | 75,317 | 5/10/2024 |
6.25.0 | 6,519 | 5/4/2024 |
6.24.0 | 1,036 | 4/17/2024 |
6.23.0 | 13,414 | 3/28/2024 |
6.22.0 | 483 | 3/22/2024 |
6.21.0 | 211 | 3/21/2024 |
6.20.0 | 1,208 | 3/11/2024 |
6.19.0 | 4,142 | 2/22/2024 |
6.18.0 | 2,628 | 2/15/2024 |
6.17.1 | 674 | 2/5/2024 |
6.17.0 | 549 | 2/2/2024 |
6.16.0 | 12,656 | 1/17/2024 |
6.15.0 | 9,330 | 1/4/2024 |
6.14.0 | 617 | 1/3/2024 |
6.13.0 | 7,187 | 12/21/2023 |
6.12.0 | 6,795 | 11/30/2023 |
6.11.0 | 989 | 11/27/2023 |
6.10.1 | 829 | 11/24/2023 |
6.10.0 | 1,029 | 11/21/2023 |
6.9.1 | 1,074 | 11/14/2023 |
6.9.0 | 34,063 | 10/18/2023 |
6.8.0 | 36,846 | 9/19/2023 |
6.7.0 | 9,865 | 8/25/2023 |
6.6.0 | 1,041 | 8/22/2023 |
6.5.0 | 7,193 | 8/17/2023 |
6.4.0 | 1,184 | 8/11/2023 |
6.3.0 | 2,812 | 7/25/2023 |
6.2.0 | 3,402 | 7/10/2023 |
6.1.0 | 2,755 | 6/22/2023 |
6.0.0 | 7,710 | 5/18/2023 |
5.2.0 | 20,826 | 4/18/2023 |
5.1.1 | 2,041 | 4/5/2023 |
5.1.0 | 1,730 | 3/23/2023 |
5.0.0 | 6,107 | 3/9/2023 |
4.22.1 | 3,241 | 3/2/2023 |
4.22.0 | 2,633 | 2/23/2023 |
4.21.0 | 2,408 | 2/13/2023 |
4.20.0 | 20,245 | 1/18/2023 |
4.19.0 | 18,018 | 12/16/2022 |
4.18.1 | 10,698 | 12/5/2022 |
4.18.0 | 10,996 | 11/19/2022 |
4.17.0 | 4,800 | 11/10/2022 |
4.16.0 | 68,164 | 11/1/2022 |
4.15.1 | 15,827 | 10/3/2022 |
4.15.0 | 1,884 | 9/23/2022 |
4.13.0 | 11,630 | 8/4/2022 |
4.12.0 | 13,657 | 7/20/2022 |
4.11.1 | 26,278 | 7/4/2022 |
4.11.0 | 1,440 | 6/28/2022 |
4.10.0 | 2,199 | 6/14/2022 |
4.9.0 | 2,296 | 6/10/2022 |
4.8.0 | 4,810 | 6/1/2022 |
4.7.1 | 2,601 | 5/15/2022 |
4.7.0 | 12,944 | 4/22/2022 |
4.6.0 | 1,414 | 4/16/2022 |
4.5.0 | 8,107 | 3/31/2022 |
4.4.0 | 3,345 | 3/18/2022 |
4.3.0 | 35,055 | 2/6/2022 |
4.2.0 | 3,043 | 1/29/2022 |
4.1.0 | 3,976 | 1/16/2022 |
4.0.0 | 13,267 | 1/10/2022 |
3.3.0 | 18,299 | 12/1/2021 |
3.2.1 | 15,210 | 11/21/2021 |
3.2.0 | 7,148 | 11/10/2021 |
3.1.0 | 647 | 11/8/2021 |
3.0.0 | 14,464 | 10/27/2021 |
2.8.0 | 25,394 | 8/12/2021 |
2.7.0 | 1,822 | 7/16/2021 |
2.6.0 | 3,125 | 4/28/2021 |
2.5.0 | 623 | 4/13/2021 |
2.4.1 | 6,154 | 3/20/2021 |
2.4.0 | 349 | 3/3/2021 |
2.3.4 | 160 | 3/2/2021 |
2.3.3 | 1,031 | 2/7/2021 |
2.3.2 | 571 | 1/28/2021 |
2.3.1 | 195 | 1/28/2021 |
2.3.0 | 171 | 1/27/2021 |
2.2.1 | 180 | 1/27/2021 |
2.2.0 | 289 | 12/23/2020 |
2.1.0 | 285 | 11/21/2020 |
2.0.0 | 334 | 11/17/2020 |
1.3.0-preview | 194 | 10/8/2020 |
1.2.1 | 129,723 | 10/8/2020 |
1.2.0 | 886 | 9/15/2020 |
1.1.2 | 246 | 9/14/2020 |
1.1.1 | 1,080 | 8/15/2020 |
1.1.0 | 291 | 8/12/2020 |
1.0.1-preview.9 | 267 | 8/12/2020 |
1.0.1-preview.3 | 238 | 8/11/2020 |
1.0.1-preview.1 | 203 | 8/11/2020 |
1.0.1-preview | 327 | 8/10/2020 |
1.0.0 | 579 | 8/2/2020 |