From a8cd666fc92a759e1d416d9590c6b39a1d7252a8 Mon Sep 17 00:00:00 2001 From: Chad T Date: Thu, 28 Jan 2016 20:17:39 +1100 Subject: [PATCH] added quickstart --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index d30a05b..862710c 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,14 @@ Install via Nuget Install-Package TinyPNG ``` +## Quickstart +```csharp +using (var png = new TinyPngClient("yourSecretApiKey")) +{ + await (await png.Compress("cat.jpg")).SaveImageToDisk("compressedCat.jpg"); +} +``` + ## Compressing Images ```csharp