Related functions - Xwilarg/BooruSharp GitHub Wiki

The following information allows you to interact with the related tags from the Booru websites

(Please make note that feature isn't available for all Booru.)

GetRelated returns an array of tags related to the one given. The first element of the array is the tag given.

Task<Search.Related.SearchResult[]> GetRelated(string tag);

BooruSharp.Related.SearchResult is a structure containing the following data:

  • string name: Name of the tag
  • uint count: Number of images existing with this tag