waifuim
    Preparing search index...

    Class WaifuClient

    WaifuClient is the main class used to interact with the Waifu.im API.

    Index

    Constructors

    Properties

    storageDiff: StorageDiffService

    Accessors

    • get authenticated(): boolean

      Whether the client instance is authenticated by specifying an API key or JWT token.

      Returns boolean

    Methods

    • Removes any authentication option provided previously.

      Returns void

    • Internal

      Performs an API HTTP request, not intended for public use.

      Type Parameters

      • T

      Parameters

      Returns Promise<T>

      ApiError if the response status code is not 200