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 f8f40f2d42 Fix null issues 6 years ago
Booru.Net Fix null issues 6 years ago
Booru.Net.Tests Fix null issues 6 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 Fixed location of LICENSE 6 years ago
README.md Update README.md 6 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 BooruClient = new BooruClient();

var posts = await BooruClient.GetGelbooruImagesAsync("aisha_clanclan", "melfina");

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

List of Methods in Wrapper:

  • GetGelbooruImagesAsync(IEnumerable<string> tags)
  • GetDanbooruImagesAsync(IEnumerable<string> tags)
  • GetRule34ImagesAsync(IEnumerable<string> tags)
  • GetE621ImagesAsync(IEnumerable<string> tags)
  • GetKonaChanImagesAsync(IEnumerable<string> tags)
  • GetYandereImagesAsync(IEnumerable<string> tags)
  • GetRealBooruImagesAsync(IEnumerable<string> tags)

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.