Skip to content

Tag Functions

Christian Chaux edited this page Aug 7, 2018 · 8 revisions

The following information allow you to interact with the posts from the Booru websites

GetTag return information about a tag given it's name or it's ID (Please make not that searching by id isn't available for all Booru.)

Task<Search.Tag.SearchResult> GetTag(string name);
Task<Search.Tag.SearchResult> GetTag(int id);

BooruSharp.Tag.SearchResult is a structure containing the following datas:

  • uint id: ID of the tag
  • string name: Name of the tag
  • TagType type: Type of the tag (Trivia, Artist, Copyright, Character or Metadata)
  • uint count: Number of images existing with this tag