ClickUpApi 1.0.0

Additional Details

This package is still WIP and not ready for public listing.

dotnet add package ClickUpApi --version 1.0.0                
NuGet\Install-Package ClickUpApi -Version 1.0.0                
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="ClickUpApi" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ClickUpApi --version 1.0.0                
#r "nuget: ClickUpApi, 1.0.0"                
#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.
// Install ClickUpApi as a Cake Addin
#addin nuget:?package=ClickUpApi&version=1.0.0

// Install ClickUpApi as a Cake Tool
#tool nuget:?package=ClickUpApi&version=1.0.0                

ClickUp API for .NET

This library allows you to interact with the Clickup API using .NET 8. It provides methods for authentication, creating tasks, and other API interactions.

Installation

To install the Clickup API library, you can use the NuGet package manager:

dotnet add package ClickUpApi

Usage

First, you need to register the ClickupClient with the Dependency Injection container in your Startup.cs or Program.cs file:

using ClickUpApi;

public class Startup
{
    public void ConfigureServices(IServiceCollection services)
    {
        services.AddClickUpClient();
    }
}

Then, you can inject the IClickUpClient interface into your classes and use it to interact with the Clickup API:

using ClickUpApi;

public class MyService
{
    private readonly IClickUpClient _clickUpClient;

    public MyService(IClickUpClient clickUpClient)
    {
        _clickUpClient = clickUpClient;
    }

    public async Task<string> AuthenticateAsync(string clientId, string clientSecret, string code)
    {
        return await _clickUpClient.AuthenticateAsync(clientId, clientSecret, code);
    }

    public async Task<string> CreateTaskAsync(string listId, string taskName, string taskDescription)
    {
        return await _clickUpClient.CreateTaskAsync(listId, taskName, taskDescription);
    }

    // Add other methods for API interactions as needed
}

Examples

Authentication

var accessToken = await _clickUpClient.AuthenticateAsync("your_client_id", "your_client_secret", "your_code");

Creating a Task

var taskId = await _clickUpClient.CreateTaskAsync("your_list_id", "Task Name", "Task Description");
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. 
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
1.0.0 119 11/11/2024 1.0.0 is deprecated.