Documentation
    Preparing search index...

    Function accountHero

    • Returns the hero information for the specified battle tag and hero ID.

      Parameters

      • battleTag: string

        The battle tag of the account.

      • heroId: number

        The ID of the hero.

      Returns {
          _responseType?: AccountHeroResponse;
          namespace?: BlizzardNamespaces;
          parameters?: Record<string, unknown>;
          path: string;
      }

      The hero resource. See AccountHeroResponse.