Documentation
    Preparing search index...

    Function getDeck

    • Returns a deck based on the code provided.

      Parameters

      • options:
            | { code: string }
            | {
                hero?: string | number;
                ids: (string | number)[];
                sideboardCards?: `${number}:${number}` | `${number}:${number}`[];
            }

        The options for fetching a deck.

      Returns {
          _responseType?: DeckResponse;
          namespace?: BlizzardNamespaces;
          parameters?: DeckSearchParameters;
          path: string;
      }

      The deck resource. See DeckResponse.