Home

Awesome

<div align='center'>

Logo

Kutt.NET

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

GitHub NuGet Latest Workflow status MIT

</div> ## Author

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

Used By

This project is used by the following applications: