/SauceNET

Simple C# wrapper for the SauceNao API

Primary LanguageC#MIT LicenseMIT

SauceNET

Asynchronous C# wrapper for SauceNAO API

Usage

using SauceNET;
...

static async Task ClientTest()
        {
            //Enter your SauceNao API key. Optional, leave empty otherwise.
            string apiKey = "";

            //Create your SauceNET client
            var client = new SauceNETClient(apiKey);

            //Enter your image url.
            string image = "https://i.imgur.com/WRCuQAG.jpg";

            //Get the sauce
            var sauce = await client.GetSauceAsync(image);

            //Top result source url, if any.
            string source = sauce.Results[0].SourceURL;
        }

SauceNao

You can find your api key here.

Installation

Install as a NuGet package

Install-Package SauceNET

To-do

  • More presentable result properties
  • DB masks
  • Error handling