The simplest BitLy SDK for .NET Core to shorten a url
Go to https://bitly.com/a/your_api_key to get your API login and key.
That's it, install this package and start shortening your urls!
BitLyShortener shortener = new BitLyShortener(APILogin, APIKey);
string shortened = await shortener.ShortenUrl("http://www.google.com");