Kutt.NET 1.0.4

Install-Package Kutt.NET -Version 1.0.4
dotnet add package Kutt.NET --version 1.0.4
<PackageReference Include="Kutt.NET" Version="1.0.4" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Kutt.NET --version 1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Kutt.NET, 1.0.4"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Kutt.NET as a Cake Addin
#addin nuget:?package=Kutt.NET&version=1.0.4

// Install Kutt.NET as a Cake Tool
#tool nuget:?package=Kutt.NET&version=1.0.4
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Logo

Kutt.NET

An API wrapper for Kutt.it, written in C#.

GitHub NuGet Latest Workflow status MIT

Authors

Usage/Examples

// Initializes a Kutt instance with default server
KuttApi kutt = new KuttApi("your_api_key");

// Initializes a Kutt instance with your own server
KuttApi kutt = new KuttApi("your_api_key", "https://example.com");

// Creates a shortened URL
Link link = await CreateLinkAsync("https://github.com");
Console.WriteLine($"Shortened URL: {link.ShortUrl}");

// With fluent interface
Link link = await new LinkCreationRequest("your_api_key", "github.com");
                      .WithExpiration("2m") // 2 minutes
                      .WithCustomSlug("gh") // https://kutt.it/gh
                      .WithPassword("github")
                      .SubmitAsync(); // Or you can use SubmitAsync("example.com") to submit with your own server.

Building

To build this project run

  nuget restore
  MSBuild.exe -property:Configuration=Release Kutt.NET.csproj

Features

  • Lightweight
  • Create or delete your domains
  • Create, delete or update your URLs
  • Get user info using API key
  • Usable in both .NET Core and .NET Framework

Used By

This project is used by the following applications:

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.4 113 6/30/2021
1.0.3 73 6/29/2021
1.0.2 57 6/22/2021