Skip to content

Tag Functions

Christian Chaux edited this page Jul 21, 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.)

Search.Tag.SearchResult GetTag(string name)
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