@bachman-dev/wanikani-api-types - v1.8.0
    Preparing search index...

    Interface WKRequestFactoryInit

    Initialization options for a WKRequestFactory.

    interface WKRequestFactoryInit {
        apiToken: string;
        customHeaders?: Record<string, string>;
        revision?: "20170710";
    }
    Index

    Properties

    apiToken: string

    The WaniKani API Token to use in the requests.

    customHeaders?: Record<string, string>

    Any additional headers to be added to all requests.

    revision?: "20170710"

    The WaniKani API Revision to use in the requests; if not set, the factory will default to the current API Revision.