Going.Plaid
5.0.0
Prefix Reserved
See the version list below for details.
dotnet add package Going.Plaid --version 5.0.0
NuGet\Install-Package Going.Plaid -Version 5.0.0
<PackageReference Include="Going.Plaid" Version="5.0.0" />
paket add Going.Plaid --version 5.0.0
#r "nuget: Going.Plaid, 5.0.0"
// Install Going.Plaid as a Cake Addin #addin nuget:?package=Going.Plaid&version=5.0.0 // Install Going.Plaid as a Cake Tool #tool nuget:?package=Going.Plaid&version=5.0.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 is compatible. 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 was computed. 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 is compatible. |
.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. |
-
.NETCoreApp 3.1
- 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 (>= 5.0.2)
-
.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 (>= 5.0.2)
-
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.7)
-
net7.0
- Microsoft.Extensions.Configuration.Abstractions (>= 7.0.0)
- Microsoft.Extensions.Http (>= 7.0.0)
- Microsoft.Extensions.Logging (>= 7.0.0)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 7.0.0)
- System.Net.Http.Json (>= 7.0.0)
- System.Text.Json (>= 7.0.2)
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.0 | 20 | 11/14/2024 |
6.30.0 | 10,269 | 10/9/2024 |
6.29.0 | 8,250 | 9/6/2024 |
6.28.1 | 25,973 | 7/15/2024 |
6.28.0 | 620 | 7/5/2024 |
6.27.0 | 2,173 | 6/19/2024 |
6.26.0 | 74,759 | 5/10/2024 |
6.25.0 | 6,382 | 5/4/2024 |
6.24.0 | 937 | 4/17/2024 |
6.23.0 | 11,614 | 3/28/2024 |
6.22.0 | 478 | 3/22/2024 |
6.21.0 | 206 | 3/21/2024 |
6.20.0 | 1,193 | 3/11/2024 |
6.19.0 | 3,724 | 2/22/2024 |
6.18.0 | 2,491 | 2/15/2024 |
6.17.1 | 666 | 2/5/2024 |
6.17.0 | 542 | 2/2/2024 |
6.16.0 | 10,080 | 1/17/2024 |
6.15.0 | 8,600 | 1/4/2024 |
6.14.0 | 612 | 1/3/2024 |
6.13.0 | 6,586 | 12/21/2023 |
6.12.0 | 6,559 | 11/30/2023 |
6.11.0 | 984 | 11/27/2023 |
6.10.1 | 824 | 11/24/2023 |
6.10.0 | 1,017 | 11/21/2023 |
6.9.1 | 1,067 | 11/14/2023 |
6.9.0 | 30,888 | 10/18/2023 |
6.8.0 | 36,671 | 9/19/2023 |
6.7.0 | 9,803 | 8/25/2023 |
6.6.0 | 1,036 | 8/22/2023 |
6.5.0 | 7,161 | 8/17/2023 |
6.4.0 | 1,168 | 8/11/2023 |
6.3.0 | 2,546 | 7/25/2023 |
6.2.0 | 3,321 | 7/10/2023 |
6.1.0 | 2,456 | 6/22/2023 |
6.0.0 | 7,523 | 5/18/2023 |
5.2.0 | 20,753 | 4/18/2023 |
5.1.1 | 2,036 | 4/5/2023 |
5.1.0 | 1,725 | 3/23/2023 |
5.0.0 | 6,102 | 3/9/2023 |
4.22.1 | 3,186 | 3/2/2023 |
4.22.0 | 2,536 | 2/23/2023 |
4.21.0 | 2,320 | 2/13/2023 |
4.20.0 | 20,232 | 1/18/2023 |
4.19.0 | 18,008 | 12/16/2022 |
4.18.1 | 10,430 | 12/5/2022 |
4.18.0 | 10,716 | 11/19/2022 |
4.17.0 | 4,792 | 11/10/2022 |
4.16.0 | 66,959 | 11/1/2022 |
4.15.1 | 15,225 | 10/3/2022 |
4.15.0 | 1,843 | 9/23/2022 |
4.13.0 | 11,129 | 8/4/2022 |
4.12.0 | 13,281 | 7/20/2022 |
4.11.1 | 26,120 | 7/4/2022 |
4.11.0 | 1,433 | 6/28/2022 |
4.10.0 | 2,190 | 6/14/2022 |
4.9.0 | 2,277 | 6/10/2022 |
4.8.0 | 4,803 | 6/1/2022 |
4.7.1 | 2,592 | 5/15/2022 |
4.7.0 | 12,931 | 4/22/2022 |
4.6.0 | 1,407 | 4/16/2022 |
4.5.0 | 8,037 | 3/31/2022 |
4.4.0 | 3,338 | 3/18/2022 |
4.3.0 | 34,732 | 2/6/2022 |
4.2.0 | 3,036 | 1/29/2022 |
4.1.0 | 3,969 | 1/16/2022 |
4.0.0 | 13,247 | 1/10/2022 |
3.3.0 | 18,280 | 12/1/2021 |
3.2.1 | 15,057 | 11/21/2021 |
3.2.0 | 7,117 | 11/10/2021 |
3.1.0 | 640 | 11/8/2021 |
3.0.0 | 14,311 | 10/27/2021 |
2.8.0 | 25,379 | 8/12/2021 |
2.7.0 | 1,806 | 7/16/2021 |
2.6.0 | 3,116 | 4/28/2021 |
2.5.0 | 616 | 4/13/2021 |
2.4.1 | 6,145 | 3/20/2021 |
2.4.0 | 342 | 3/3/2021 |
2.3.4 | 153 | 3/2/2021 |
2.3.3 | 1,024 | 2/7/2021 |
2.3.2 | 564 | 1/28/2021 |
2.3.1 | 188 | 1/28/2021 |
2.3.0 | 164 | 1/27/2021 |
2.2.1 | 171 | 1/27/2021 |
2.2.0 | 282 | 12/23/2020 |
2.1.0 | 278 | 11/21/2020 |
2.0.0 | 327 | 11/17/2020 |
1.3.0-preview | 191 | 10/8/2020 |
1.2.1 | 129,595 | 10/8/2020 |
1.2.0 | 879 | 9/15/2020 |
1.1.2 | 239 | 9/14/2020 |
1.1.1 | 1,073 | 8/15/2020 |
1.1.0 | 284 | 8/12/2020 |
1.0.1-preview.9 | 264 | 8/12/2020 |
1.0.1-preview.3 | 235 | 8/11/2020 |
1.0.1-preview.1 | 200 | 8/11/2020 |
1.0.1-preview | 324 | 8/10/2020 |
1.0.0 | 489 | 8/2/2020 |