Unofficial .NET wrapper for waifu.pics.
Supports both SFW and NSFW endpoints.
var client = new WaifuClient(new WaifuConfiguration
{
// Gives you the option to exclude specific links from queries
DefaultExcludes = new [] { "exclude links here" },
});
var image = await client.GetRandomSfwAsync(SfwCategory.Waifu);
await Console.Out.WriteLineAsync(image);
var image = await client.GetManyRandomSfwAsync(SfwCategory.Waifu);
foreach (var image in images)
{
await Console.Out.WriteLineAsync(image);
}
- Fixed logging, it works for now but needs to be better.