Types of User Requests available in the WaniKani API.

interface WKUserRequests {
    get: (options?: WKRequestGetOptions) => WKRequest;
    updatePreferences: (
        payload: WKUserPreferencesPayload,
        options?: WKRequestPostPutOptions,
    ) => WKRequest;
}

Properties

get: (options?: WKRequestGetOptions) => WKRequest

Get a user's information from the WaniKani API.

Type declaration

updatePreferences: (
    payload: WKUserPreferencesPayload,
    options?: WKRequestPostPutOptions,
) => WKRequest

Update a User's Preferences via the WaniKani API.

Type declaration