Skip to content

Waifu-pics/WaifuSharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

banner

Official minimal .NET wrapper for waifu.pics.
Refer to the docs for available endpoints currently in the API. Install the NuGet package into your project.

Examples

Get image URL

Get a random image from waifu endpoint in sfw category

WaifuClient client = new WaifuClient();  
Console.WriteLine(client.GetSfwImage(Endpoints.Sfw.Waifu));

Download image from API

WaifuClient client = new WaifuClient();
WaifuImage image = client.DownloadSfwImage(Endpoints.Sfw.Waifu);  
File.WriteAllBytes(image.Filename, image.Buffer);

About

.NET API wrapper for the waifu.pics API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages