Going.Plaid
6.31.0
Prefix Reserved
See the version list below for details.
dotnet add package Going.Plaid --version 6.31.0
NuGet\Install-Package Going.Plaid -Version 6.31.0
<PackageReference Include="Going.Plaid" Version="6.31.0" />
paket add Going.Plaid --version 6.31.0
#r "nuget: Going.Plaid, 6.31.0"
// Install Going.Plaid as a Cake Addin #addin nuget:?package=Going.Plaid&version=6.31.0 // Install Going.Plaid as a Cake Tool #tool nuget:?package=Going.Plaid&version=6.31.0
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 (1)
Showing the top 1 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. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
6.31.1 | 257 | 11/18/2024 |
6.31.0 | 896 | 11/14/2024 |
6.30.0 | 14,244 | 10/9/2024 |
6.29.0 | 8,877 | 9/6/2024 |
6.28.1 | 32,221 | 7/15/2024 |
6.28.0 | 624 | 7/5/2024 |
6.27.0 | 2,203 | 6/19/2024 |
6.26.0 | 74,990 | 5/10/2024 |
6.25.0 | 6,503 | 5/4/2024 |
6.24.0 | 942 | 4/17/2024 |
6.23.0 | 12,041 | 3/28/2024 |
6.22.0 | 479 | 3/22/2024 |
6.21.0 | 207 | 3/21/2024 |
6.20.0 | 1,199 | 3/11/2024 |
6.19.0 | 3,800 | 2/22/2024 |
6.18.0 | 2,536 | 2/15/2024 |
6.17.1 | 667 | 2/5/2024 |
6.17.0 | 543 | 2/2/2024 |
6.16.0 | 10,720 | 1/17/2024 |
6.15.0 | 8,767 | 1/4/2024 |
6.14.0 | 613 | 1/3/2024 |
6.13.0 | 6,725 | 12/21/2023 |
6.12.0 | 6,593 | 11/30/2023 |
6.11.0 | 985 | 11/27/2023 |
6.10.1 | 825 | 11/24/2023 |
6.10.0 | 1,020 | 11/21/2023 |
6.9.1 | 1,068 | 11/14/2023 |
6.9.0 | 31,679 | 10/18/2023 |
6.8.0 | 36,708 | 9/19/2023 |
6.7.0 | 9,805 | 8/25/2023 |
6.6.0 | 1,037 | 8/22/2023 |
6.5.0 | 7,163 | 8/17/2023 |
6.4.0 | 1,169 | 8/11/2023 |
6.3.0 | 2,641 | 7/25/2023 |
6.2.0 | 3,331 | 7/10/2023 |
6.1.0 | 2,510 | 6/22/2023 |
6.0.0 | 7,576 | 5/18/2023 |
5.2.0 | 20,768 | 4/18/2023 |
5.1.1 | 2,037 | 4/5/2023 |
5.1.0 | 1,726 | 3/23/2023 |
5.0.0 | 6,103 | 3/9/2023 |
4.22.1 | 3,189 | 3/2/2023 |
4.22.0 | 2,562 | 2/23/2023 |
4.21.0 | 2,351 | 2/13/2023 |
4.20.0 | 20,233 | 1/18/2023 |
4.19.0 | 18,010 | 12/16/2022 |
4.18.1 | 10,516 | 12/5/2022 |
4.18.0 | 10,818 | 11/19/2022 |
4.17.0 | 4,794 | 11/10/2022 |
4.16.0 | 67,222 | 11/1/2022 |
4.15.1 | 15,429 | 10/3/2022 |
4.15.0 | 1,857 | 9/23/2022 |
4.13.0 | 11,271 | 8/4/2022 |
4.12.0 | 13,343 | 7/20/2022 |
4.11.1 | 26,164 | 7/4/2022 |
4.11.0 | 1,434 | 6/28/2022 |
4.10.0 | 2,191 | 6/14/2022 |
4.9.0 | 2,284 | 6/10/2022 |
4.8.0 | 4,804 | 6/1/2022 |
4.7.1 | 2,593 | 5/15/2022 |
4.7.0 | 12,932 | 4/22/2022 |
4.6.0 | 1,408 | 4/16/2022 |
4.5.0 | 8,052 | 3/31/2022 |
4.4.0 | 3,339 | 3/18/2022 |
4.3.0 | 34,816 | 2/6/2022 |
4.2.0 | 3,037 | 1/29/2022 |
4.1.0 | 3,970 | 1/16/2022 |
4.0.0 | 13,248 | 1/10/2022 |
3.3.0 | 18,282 | 12/1/2021 |
3.2.1 | 15,092 | 11/21/2021 |
3.2.0 | 7,121 | 11/10/2021 |
3.1.0 | 641 | 11/8/2021 |
3.0.0 | 14,348 | 10/27/2021 |
2.8.0 | 25,380 | 8/12/2021 |
2.7.0 | 1,814 | 7/16/2021 |
2.6.0 | 3,119 | 4/28/2021 |
2.5.0 | 617 | 4/13/2021 |
2.4.1 | 6,146 | 3/20/2021 |
2.4.0 | 343 | 3/3/2021 |
2.3.4 | 154 | 3/2/2021 |
2.3.3 | 1,025 | 2/7/2021 |
2.3.2 | 565 | 1/28/2021 |
2.3.1 | 189 | 1/28/2021 |
2.3.0 | 165 | 1/27/2021 |
2.2.1 | 174 | 1/27/2021 |
2.2.0 | 283 | 12/23/2020 |
2.1.0 | 279 | 11/21/2020 |
2.0.0 | 328 | 11/17/2020 |
1.3.0-preview | 192 | 10/8/2020 |
1.2.1 | 129,621 | 10/8/2020 |
1.2.0 | 880 | 9/15/2020 |
1.1.2 | 240 | 9/14/2020 |
1.1.1 | 1,074 | 8/15/2020 |
1.1.0 | 285 | 8/12/2020 |
1.0.1-preview.9 | 265 | 8/12/2020 |
1.0.1-preview.3 | 236 | 8/11/2020 |
1.0.1-preview.1 | 201 | 8/11/2020 |
1.0.1-preview | 325 | 8/10/2020 |
1.0.0 | 537 | 8/2/2020 |