Constructs a new BaseOperation instance.
OptionalauthToken: RequestAuthInput
The authentication material used for API requests. A string is treated as a bearer token for backwards compatibility.
Optionaloptions: RequestOptions
Transport settings scoped to this instance (timeout, cancellation, retry policy, lifecycle hooks).
OptionalstateOwner: object
Stable object keying cross-request transport state (circuit breaker, retry budget, pacing deadlines). Provider wirings pass one shared owner to every operation they construct so that state spans the whole client; when omitted, a fresh per-instance object is used and the state stays scoped to this operation.
MalUserOperation.animeList gets a user's anime list, one page at a time.
It calls GET /users/{username}/animelist through
RestOperation.execute and returns a MalUserAnimeListResponse
page of MalUserAnimeListEntry entries shaped by
MalRequestOptions.fields. The facade exposes this method as
MyAnimeListUserApi.animeList. username accepts a user name or @me;
@me and private lists require an access token. The @me check ignores
case and surrounding whitespace.
The anime-list read inputs; a MalUserAnimeListParams carrying the username plus the optional status, sort, and paging filters.
Optional field selection and transport settings; a MalRequestOptions merged over the instance defaults.
The anime list page, a MalUserAnimeListResponse.
An AniLinkValidationError when username is empty or only whitespace.
MalUserOperation.get gets a MyAnimeList user profile.
It calls GET /users/{username} through RestOperation.execute and
returns a MalUser shaped by MalRequestOptions.fields.
The facade alias is MyAnimeListUserApi.get. MyAnimeList documents only
@me for this endpoint, so username accepts @me (with the same
case-insensitive, whitespace-tolerant check as the user-list reads) and
requires an access token to resolve it. Other usernames are passed
through, but MyAnimeList currently answers them with 404.
The profile read inputs; a MalUserGetParams carrying the username.
Optional field selection and transport settings; a MalRequestOptions merged over the instance defaults.
The requested MalUser.
An AniLinkValidationError when username is empty or only whitespace.
MalUserOperation.mangaList gets a user's manga list, one page at a time.
It calls GET /users/{username}/mangalist through
RestOperation.execute and returns a MalUserMangaListResponse
page of MalUserMangaListEntry entries shaped by
MalRequestOptions.fields. The facade exposes this method as
MyAnimeListUserApi.mangaList. username accepts a user name or @me;
@me and private lists require an access token. The @me check ignores
case and surrounding whitespace.
The manga-list read inputs; a MalUserMangaListParams carrying the username plus the optional status, sort, and paging filters.
Optional field selection and transport settings; a MalRequestOptions merged over the instance defaults.
The manga list page, a MalUserMangaListResponse.
An AniLinkValidationError when username is empty or only whitespace.
MalUserOperation.me gets the currently authenticated MyAnimeList user.
It calls GET /users/@me through RestOperation.execute with requiresAuth and returns a MalUser shaped by MalRequestOptions.fields. The facade alias is MyAnimeListUserApi.me and it requires MalCredentials.accessToken.
Optional field selection and transport settings; a MalRequestOptions merged over the instance defaults.
The authenticated MalUser.
MalUserOperation is the REST operation adapter for the MyAnimeList user endpoints.
It extends RestOperation and is composed into
MyAnimeListApiviabuildMyAnimeListApi, exposing MalUser through MalRequestOptions andMyAnimeListUserApi.me. The paginated user-list readsanimeListandmangaListcoverGET /users/{user_name}/animelistandGET /users/{user_name}/mangalist.See