// Initializes a Kutt instance with default serverKuttApikutt=newKuttApi("your_api_key");// Initializes a Kutt instance with your own serverKuttApikutt=newKuttApi("your_api_key","https://example.com");// Creates a shortened URLLinklink=awaitCreateLinkAsync("https://github.com");Console.WriteLine($"Shortened URL: {link.ShortUrl}");// With fluent interfaceLinklink=awaitnewLinkCreationRequest("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.To build this project run
nuget restore
MSBuild.exe -property:Configuration=Release Kutt.NET.csproj- 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
This project is used by the following applications:
