Toggl.Api 9.0.61

dotnet add package Toggl.Api --version 9.0.61
                    
NuGet\Install-Package Toggl.Api -Version 9.0.61
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Toggl.Api" Version="9.0.61" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Toggl.Api" Version="9.0.61" />
                    
Directory.Packages.props
<PackageReference Include="Toggl.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Toggl.Api --version 9.0.61
                    
#r "nuget: Toggl.Api, 9.0.61"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Toggl.Api@9.0.61
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Toggl.Api&version=9.0.61
                    
Install as a Cake Addin
#tool nuget:?package=Toggl.Api&version=9.0.61
                    
Install as a Cake Tool

Toggl.Api nuget package

Nuget Nuget License: MIT Codacy Badge

Description

This is a .NET 8.0 / .NET 9.0 library for the Toggl API.

We now only provide Toggl API 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 Toggl API v8 to Toggl API 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 (previously DataObjects)
  • The library uses the new Toggl API v9 interfaces and these are in the Interfaces namespace
Product 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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.61 391 6/9/2025
9.0.60 530 1/28/2025
9.0.59 177 12/17/2024
9.0.55 228 11/18/2024
9.0.54 135 11/18/2024
9.0.53 123 11/18/2024
9.0.51 127 11/18/2024
9.0.50 151 11/15/2024
9.0.48 403 9/25/2024
9.0.47 141 9/25/2024
9.0.44 286 6/24/2024
9.0.43 224 6/12/2024
9.0.42 150 6/12/2024
9.0.40 166 6/12/2024
9.0.33-ga0b6878251 120 6/24/2024
9.0.32-gaaec92c03a 187 5/19/2024
9.0.31-gc0142499d1 145 5/10/2024
9.0.23-g51970e5617 179 3/29/2024
9.0.13-gbcf250f55c 138 3/25/2024
9.0.8-g8faa345b71 139 3/24/2024
9.0.7-g95859521fd 123 3/24/2024
8.0.22 267 4/3/2024
8.0.7 1,795 9/14/2021
8.0.6 453 9/1/2021
8.0.5 386 9/1/2021
8.0.4 616 5/16/2021
1.0.9 489 4/9/2021
1.0.8 440 3/26/2021
1.0.7 545 1/20/2021
1.0.6 765 4/23/2020
1.0.5 2,430 4/9/2018
1.0.4 1,200 4/2/2018
1.0.3 1,201 4/2/2018
1.0.2 1,225 3/17/2018
1.0.1 1,207 3/17/2018
1.0.0 1,198 3/17/2018

Added 'DelayMsAfterTooManyRequests' onto TogglClientOptions to allow control over the delay between retries after a HTTP 429 response.