Class Danbooru

Hierarchy (View Summary)

Constructors

Methods

  • Check if the Booru site supports random sorting of posts.

    Returns boolean

    True if the Booru site supports random sorting, false otherwise.

  • Get a list of file hosts used by the Booru site.

    Returns string[]

    An array of file host URLs.

  • Get the maximum number of tags that can be used in a search query for unauthenticated and authenticated users.

    Returns MaxTags

    An object containing the maximum number of tags for unauthenticated and authenticated users, or null if there is no limit.

  • Get the name of the Booru site.

    Returns string

    The name of the Booru site.

  • Get the slug of the Booru site.

    Returns string

    The unique slug of the Booru site.

  • Get the website URL of the Booru site.

    Returns string

    The website URL of the Booru site.