Asynchronous C# wrapper for SauceNAO API
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;
}
You can find your api key here.
Install as a NuGet package
Install-Package SauceNET
- More presentable result properties
- DB masks
- Error handling