Options for making GET Requests to the WaniKani API.

interface WKRequestGetOptions {
    customHeaders?: Record<string, string>;
    ifModifiedSince?: string;
    ifNoneMatch?: string;
}

Properties

customHeaders?: Record<string, string>

Custom headers to add to this request only.

ifModifiedSince?: string

Adds an If-Modified-Since header to the request.

ifNoneMatch?: string

Adds an If-None-Match header to the request.