Toggl.Api
9.0.47
See the version list below for details.
dotnet add package Toggl.Api --version 9.0.47
NuGet\Install-Package Toggl.Api -Version 9.0.47
<PackageReference Include="Toggl.Api" Version="9.0.47" />
paket add Toggl.Api --version 9.0.47
#r "nuget: Toggl.Api, 9.0.47"
// Install Toggl.Api as a Cake Addin #addin nuget:?package=Toggl.Api&version=9.0.47 // Install Toggl.Api as a Cake Tool #tool nuget:?package=Toggl.Api&version=9.0.47
Toggl.Api nuget package
Description
This is a .NET 8.0 library for the Toggl API.
We now only provide v9 support. Many endpoints are currently missing. Your pull requests are welcome!
Breaking change
To avoid the conflict with System.Threading.Tasks.Task, we have renamed the Task class to ProjectTask. This will require you to update your code to use ProjectTask instead of Task.
Contributing
This project is developed using Refit and System.Text.Json. It is a .NET 8.0 project.
Add interfaces for new endpoints in the Interfaces
folder.
Add models in the Models
folder.
Add unit tests in the Toggl.Api.Tests
project.
Refer to the Toggl API documentation for more information on the endpoints and models here: https://engineering.toggl.com/docs/
Migrating from v8 to v9
The v9 version of the library is a complete rewrite. The main differences are:
- The library is now .NET 8.0.
- The library uses Refit for the API calls
- The library uses System.Text.Json for JSON serialization
- The library uses the new Toggl API v9 endpoints
- The library uses the new Toggl API v9 models and these are in the
Models
namespace (previouslyDataObjects
) - The library uses the new Toggl API v9 interfaces and these are in the
Interfaces
namespace
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | 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. |
-
net8.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.0)
- Refit (>= 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 |
---|---|---|
9.0.48 | 310 | 9/25/2024 |
9.0.47 | 83 | 9/25/2024 |
9.0.44 | 238 | 6/24/2024 |
9.0.43 | 132 | 6/12/2024 |
9.0.42 | 98 | 6/12/2024 |
9.0.40 | 121 | 6/12/2024 |
9.0.33-ga0b6878251 | 98 | 6/24/2024 |
9.0.32-gaaec92c03a | 159 | 5/19/2024 |
9.0.31-gc0142499d1 | 121 | 5/10/2024 |
9.0.23-g51970e5617 | 159 | 3/29/2024 |
9.0.13-gbcf250f55c | 110 | 3/25/2024 |
9.0.8-g8faa345b71 | 119 | 3/24/2024 |
9.0.7-g95859521fd | 98 | 3/24/2024 |
8.0.22 | 225 | 4/3/2024 |
8.0.7 | 1,678 | 9/14/2021 |
8.0.6 | 371 | 9/1/2021 |
8.0.5 | 310 | 9/1/2021 |
8.0.4 | 498 | 5/16/2021 |
1.0.9 | 408 | 4/9/2021 |
1.0.8 | 355 | 3/26/2021 |
1.0.7 | 458 | 1/20/2021 |
1.0.6 | 672 | 4/23/2020 |
1.0.5 | 2,054 | 4/9/2018 |
1.0.4 | 902 | 4/2/2018 |
1.0.3 | 902 | 4/2/2018 |
1.0.2 | 916 | 3/17/2018 |
1.0.1 | 906 | 3/17/2018 |
1.0.0 | 892 | 3/17/2018 |
Updated Project.cs to add 'Pinned' and to change 'IsFixedFee' from boolean to nullable double.