.NET client for the Tinify API, used for TinyPNG and TinyJPG. #Installation Install the API client via NuGet:
PM> Install-Package TinifyApiClient
#Usage Compressing image
var tinifyClient = new TinifyClient("<api_key>");
var shrinkRequest = new ShrinkRequest("<image_url>");
ShrinkResponse shrinkResponse = await tinifyClient.ShrinkAsync(shrinkRequest);