Class SearchResult

Constructors

  • Creates an instance of SearchResult.

    Parameters

    • title: string

      The title of the anime.

    • type: AnimeType

      The type of the anime (e.g., TV, OVA, Movie).

    • status: AnimeStatus

      The status of the anime (e.g., Ongoing, Completed).

    • rating: number

      The rating of the anime.

    • seriesURL: URL

      The URL to the anime series page.

    • imageURL: URL

      The URL of the anime image.

    Returns SearchResult

Properties

_imageURL: URL = undefined
_rating: number
_seriesURL: URL
_status: AnimeStatus
_title: string
_type: AnimeType

Accessors

  • get rating(): number
  • Gets the rating of the anime.

    Returns number

    The rating of the anime.

  • get seriesURL(): URL
  • Gets the URL to the anime series page.

    Returns URL

    The URL to the anime series page.

  • get title(): string
  • Gets the title of the anime.

    Returns string

    The title of the anime.