Going.Plaid
6.31.3
Prefix Reserved
dotnet add package Going.Plaid --version 6.31.3
NuGet\Install-Package Going.Plaid -Version 6.31.3
<PackageReference Include="Going.Plaid" Version="6.31.3" />
paket add Going.Plaid --version 6.31.3
#r "nuget: Going.Plaid, 6.31.3"
// Install Going.Plaid as a Cake Addin #addin nuget:?package=Going.Plaid&version=6.31.3 // Install Going.Plaid as a Cake Tool #tool nuget:?package=Going.Plaid&version=6.31.3
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.3 | 1,340 | 12/3/2024 |
6.31.2 | 82 | 12/3/2024 |
6.31.1 | 1,583 | 11/18/2024 |
6.31.0 | 1,829 | 11/14/2024 |
6.30.0 | 23,135 | 10/9/2024 |
6.29.0 | 10,929 | 9/6/2024 |
6.28.1 | 48,791 | 7/15/2024 |
6.28.0 | 646 | 7/5/2024 |
6.27.0 | 2,277 | 6/19/2024 |
6.26.0 | 75,245 | 5/10/2024 |
6.25.0 | 6,518 | 5/4/2024 |
6.24.0 | 1,022 | 4/17/2024 |
6.23.0 | 13,133 | 3/28/2024 |
6.22.0 | 483 | 3/22/2024 |
6.21.0 | 211 | 3/21/2024 |
6.20.0 | 1,207 | 3/11/2024 |
6.19.0 | 4,069 | 2/22/2024 |
6.18.0 | 2,620 | 2/15/2024 |
6.17.1 | 674 | 2/5/2024 |
6.17.0 | 547 | 2/2/2024 |
6.16.0 | 12,220 | 1/17/2024 |
6.15.0 | 9,244 | 1/4/2024 |
6.14.0 | 617 | 1/3/2024 |
6.13.0 | 7,087 | 12/21/2023 |
6.12.0 | 6,757 | 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,072 | 11/14/2023 |
6.9.0 | 33,606 | 10/18/2023 |
6.8.0 | 36,817 | 9/19/2023 |
6.7.0 | 9,855 | 8/25/2023 |
6.6.0 | 1,041 | 8/22/2023 |
6.5.0 | 7,186 | 8/17/2023 |
6.4.0 | 1,180 | 8/11/2023 |
6.3.0 | 2,758 | 7/25/2023 |
6.2.0 | 3,390 | 7/10/2023 |
6.1.0 | 2,642 | 6/22/2023 |
6.0.0 | 7,680 | 5/18/2023 |
5.2.0 | 20,811 | 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,229 | 3/2/2023 |
4.22.0 | 2,610 | 2/23/2023 |
4.21.0 | 2,385 | 2/13/2023 |
4.20.0 | 20,245 | 1/18/2023 |
4.19.0 | 18,016 | 12/16/2022 |
4.18.1 | 10,679 | 12/5/2022 |
4.18.0 | 10,970 | 11/19/2022 |
4.17.0 | 4,798 | 11/10/2022 |
4.16.0 | 67,931 | 11/1/2022 |
4.15.1 | 15,815 | 10/3/2022 |
4.15.0 | 1,882 | 9/23/2022 |
4.13.0 | 11,516 | 8/4/2022 |
4.12.0 | 13,581 | 7/20/2022 |
4.11.1 | 26,252 | 7/4/2022 |
4.11.0 | 1,438 | 6/28/2022 |
4.10.0 | 2,197 | 6/14/2022 |
4.9.0 | 2,294 | 6/10/2022 |
4.8.0 | 4,808 | 6/1/2022 |
4.7.1 | 2,599 | 5/15/2022 |
4.7.0 | 12,942 | 4/22/2022 |
4.6.0 | 1,412 | 4/16/2022 |
4.5.0 | 8,105 | 3/31/2022 |
4.4.0 | 3,343 | 3/18/2022 |
4.3.0 | 35,022 | 2/6/2022 |
4.2.0 | 3,041 | 1/29/2022 |
4.1.0 | 3,974 | 1/16/2022 |
4.0.0 | 13,252 | 1/10/2022 |
3.3.0 | 18,292 | 12/1/2021 |
3.2.1 | 15,208 | 11/21/2021 |
3.2.0 | 7,146 | 11/10/2021 |
3.1.0 | 645 | 11/8/2021 |
3.0.0 | 14,461 | 10/27/2021 |
2.8.0 | 25,388 | 8/12/2021 |
2.7.0 | 1,820 | 7/16/2021 |
2.6.0 | 3,123 | 4/28/2021 |
2.5.0 | 621 | 4/13/2021 |
2.4.1 | 6,152 | 3/20/2021 |
2.4.0 | 347 | 3/3/2021 |
2.3.4 | 158 | 3/2/2021 |
2.3.3 | 1,029 | 2/7/2021 |
2.3.2 | 569 | 1/28/2021 |
2.3.1 | 193 | 1/28/2021 |
2.3.0 | 169 | 1/27/2021 |
2.2.1 | 178 | 1/27/2021 |
2.2.0 | 287 | 12/23/2020 |
2.1.0 | 283 | 11/21/2020 |
2.0.0 | 332 | 11/17/2020 |
1.3.0-preview | 194 | 10/8/2020 |
1.2.1 | 129,717 | 10/8/2020 |
1.2.0 | 884 | 9/15/2020 |
1.1.2 | 244 | 9/14/2020 |
1.1.1 | 1,078 | 8/15/2020 |
1.1.0 | 289 | 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 | 569 | 8/2/2020 |