A handler class for interfacing with the language-related API endpoints.

Constructors

Methods

Constructors

Methods

  • Retrieves all languages

    Parameters

    • OptionalskipCache: boolean

      Indicates whether to skip the cache and fetch data directly.

    Returns Promise<Language[]>

    A promise that resolves to an array of items.

  • Retrieves a Language object by its ID.

    Parameters

    • id: string

      The unique identifier of the Language object to retrieve.

    • OptionalskipCache: boolean

      Whether to bypass the cache and fetch data directly (default is false).

    Returns Promise<Language>

    A promise that resolves to the requested Language object.