@lgriffin/esi.ts - EVE Online ESI API Client - v12.3.0
    Preparing search index...

    The base of the custom domain clients: an endpoint map turned into methods, plus the stream*/fetchAll* page helpers and withMetadata/withSafeMode. Extend it for a custom domain client of your own.

    Hierarchy (View Summary)

    Index
    api: ClientMethods<T>
    _client: ApiClient
    _endpoints: {
        getCharacterLocation: {
            path: "characters/{characterId}/location";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    solar_system_id: ZodNumber;
                    station_id: ZodOptional<ZodNumber>;
                    structure_id: ZodOptional<ZodNumber>;
                },
                $loose,
            >;
        };
        getCharacterOnline: {
            path: "characters/{characterId}/online";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    online: ZodBoolean;
                    last_login: ZodOptional<ZodString>;
                    last_logout: ZodOptional<ZodString>;
                    logins: ZodOptional<ZodNumber>;
                },
                $loose,
            >;
        };
        getCharacterShip: {
            path: "characters/{characterId}/ship";
            method: "GET";
            requiresAuth: true;
            pathParams: readonly ["characterId"];
            responseSchema: ZodObject<
                {
                    ship_item_id: ZodNumber;
                    ship_name: ZodString;
                    ship_type_id: ZodNumber;
                },
                $loose,
            >;
        };
    }
    • Type Parameters

      • R

      Parameters

      • endpointName: "getCharacterLocation" | "getCharacterOnline" | "getCharacterShip"
      • ...args: unknown[]

      Returns AsyncGenerator<PageResult<R>, void, undefined>

    • Type Parameters

      • R

      Parameters

      • endpointName: "getCharacterLocation" | "getCharacterOnline" | "getCharacterShip"
      • args: unknown[]
      • Optionalconcurrency: number

      Returns Promise<R[]>

    • Retrieves the current solar system, station, and structure location of a character.

      Parameters

      • characterId: number

        The ID of the character to locate

      Returns Promise<
          {
              solar_system_id: number;
              station_id?: number;
              structure_id?: number;
              [key: string]: unknown;
          },
      >

      The character's current location including solar system and optional station or structure

      Authentication

    • Checks whether a character is currently online and retrieves login/logout timestamps.

      Parameters

      • characterId: number

        The ID of the character to check

      Returns Promise<
          {
              online: boolean;
              last_login?: string;
              last_logout?: string;
              logins?: number;
              [key: string]: unknown;
          },
      >

      The character's online status and last login/logout times

      Authentication

    • Retrieves the type, name, and item ID of the ship a character is currently flying.

      Parameters

      • characterId: number

        The ID of the character whose ship to retrieve

      Returns Promise<
          {
              ship_item_id: number;
              ship_name: string;
              ship_type_id: number;
              [key: string]: unknown;
          },
      >

      The character's current ship details including type ID and ship name

      Authentication