Skip to content

GET endpoints

meta

Stats

Bases: VndbModel

Database-wide counts from GET /stats.

AuthInfo

Bases: VndbModel

Token info from GET /authinfo.

User

Bases: VndbModel

A user record from GET /user.

UlistLabel

Bases: VndbModel

A list label from GET /ulist_labels (id is an integer).

parse_one

parse_one(model: type[_MetaT], raw: Any) -> _MetaT

Validate raw into model, surfacing a mismatch as VndbParseError.

parse_user_map

parse_user_map(raw: Any) -> dict[str, User | None]

Parse a GET /user response (a map of query -> user object or null).

parse_labels

parse_labels(raw: Any) -> list[UlistLabel]

Parse a GET /ulist_labels response, unwrapping the labels array.