A C# Wrapper for the Booru Image Boards.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
exsersewo ed236340cd Fix Null Refs with ImageUrl 5 years ago
Booru.Net Fix Null Refs with ImageUrl 5 years ago
Booru.Net.Tests Fix Null Refs with ImageUrl 5 years ago
.gitattributes Add .gitignore and .gitattributes. 7 years ago
.gitignore Add .gitignore and .gitattributes. 7 years ago
Booru.Net.sln Add Tests, Add UserAgent, Upgrade Protocol Support to HTTP1.1 & remove whitespace. Plus VerBump 6 years ago
LICENSE Update LICENSE 5 years ago
README.md Update README.md 5 years ago

README.md

Booru.Net

A C# Wrapper for the Booru Image Boards.

Currently supported Boards are:

  • Safebooru
  • Rule34
  • Realbooru
  • Danbooru
  • Gelbooru
  • Konachan
  • E621
  • Yande.re

How to get started

var GelbooruClient = new GelbooruClient();

var posts = await GelbooruClient.GetImagesAsync("aisha_clanclan", "melfina");

if(posts != null)
{
  ...
}

List<string> tags = new List<string>
{
    "aisha_clanclan",
    "melfina"
};

posts = await GelbooruClient.GetImagesAsync(tags);

if(posts != null)
{
  ...
}

Contributing

If you wish to add more booru's to the wrapper/make the code better/optimise the code, please fork your own version and pull-request it. If you are planning on adding another booru to the wrapper, please do it in a similar style to the currently existing methods.