YNAB.Rest
1.1.6
See the version list below for details.
dotnet add package YNAB.Rest --version 1.1.6
NuGet\Install-Package YNAB.Rest -Version 1.1.6
<PackageReference Include="YNAB.Rest" Version="1.1.6" />
paket add YNAB.Rest --version 1.1.6
#r "nuget: YNAB.Rest, 1.1.6"
// Install YNAB.Rest as a Cake Addin
#addin nuget:?package=YNAB.Rest&version=1.1.6
// Install YNAB.Rest as a Cake Tool
#tool nuget:?package=YNAB.Rest&version=1.1.6
YNAB.Rest
A .NET client for the YNAB REST API, using the Refit REST library. All REST methods are asynchronous and awaitable.
See the source on GitHub.
Getting Started
- Install the Nuget package or compile the code.
- Import the namespace
YNAB.Rest
. - Create an IApiClient by calling
ApiClientFactory.Create([accessToken])
. - Start coding!
Example Code
string accessToken = "secret_api_access_token";
var api = ApiClientFactory.Create(accessToken);
var budgetsResponse = await api.GetBudgets();
var budgets = budgetsResponse.Data.Budgets;
Response Objects
All methods return a response object that has a Data
property containing the data from the REST API call. In this example, the response object contains a Data
property that has a Budgets
property with a list of Budgets.
This structure follows the convention of the YNAB REST API.
Project Status
This is a new project. There are plenty of opportunities for improvement.
What Works
GET Budgets, Accounts, Categories, Transactions, Payees, Payee Locations POST/PUT Transactions
What Needs To Be Done
GET Months, Scheduled Transactions
License
This code is licensed under the MIT License. Use of this code requires consent to the terms of the license.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. 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 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 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
- Refit.Newtonsoft.Json (>= 7.0.0)
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 | |
---|---|---|---|
1.3.0 | 90 | 4/5/2024 | |
1.2.6 | 62 | 4/5/2024 | |
1.2.5 | 73 | 4/5/2024 | |
1.2.4 | 55 | 4/5/2024 | |
1.2.3 | 65 | 4/5/2024 | |
1.2.2 | 89 | 3/18/2024 | |
1.2.1 | 84 | 3/18/2024 | |
1.2.0 | 102 | 2/11/2024 | |
1.1.13 | 73 | 2/11/2024 | |
1.1.10 | 88 | 2/11/2024 | |
1.1.8 | 200 | 7/16/2023 | |
1.1.7 | 161 | 7/15/2023 | |
1.1.6 | 131 | 7/15/2023 | |
1.1.5 | 147 | 7/15/2023 | |
1.1.4 | 153 | 7/15/2023 | |
1.1.0 | 160 | 7/15/2023 | |
0.7.0 | 908 | 8/31/2019 | |
0.5.0 | 884 | 8/2/2018 | |
0.4.0 | 849 | 8/1/2018 | |
0.3.1 | 809 | 8/1/2018 | |
0.3.0 | 801 | 8/1/2018 |