Skip to content

Latest commit

 

History

History
42 lines (31 loc) · 964 Bytes

README.md

File metadata and controls

42 lines (31 loc) · 964 Bytes

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