Class HSRRecordModuleInternal

HSRRecordModule class provides methods to interact with Honkai Star Rail record module endpoints.

Constructors

Methods

  • Retrieves the characters associated with the provided region and UID.

    Returns Promise<IHSRCharacterFull[]>

    A Promise that resolves to an array of full HSR characters.

    if the region or UID parameters are missing or failed to be filled.

    if failed to retrieve data, please double-check the provided UID.

  • Retrieves the forgotten hall information associated with the provided region and UID.

    Parameters

    • scheduleType: ForgottenHallScheduleEnum = ForgottenHallScheduleEnum.CURRENT

      The schedule type for the forgotten hall (optional, defaults to CURRENT).

    Returns Promise<IHSRForgottenHall>

    A Promise that resolves to the forgotten hall information object.

    if the region or UID parameters are missing or failed to be filled.

    if the given scheduleType parameter is invalid.

    if failed to retrieve data, please double-check the provided UID.

  • Retrieves the note associated with the provided region and UID.

    Returns Promise<IHSRNote>

    A Promise that resolves to the HSR note object.

    if the region or UID parameters are missing or failed to be filled.

    if failed to retrieve data, please double-check the provided UID.

  • Retrieves the records associated with the provided region and UID.

    Returns Promise<IHSRRecord>

    A Promise that resolves to the HSR record object.

    if the region or UID parameters are missing or failed to be filled.

    if failed to retrieve data, please double-check the provided UID.