get_user_status()
Retrieve the user’s Advent of Code progress for the specified year.
Usage
get_user_status(
year,
session=None,
fmt=OutputFormat.MODEL,
)This includes the star count for each puzzle day, the total stars earned, and whether the user is an Advent of Code supporter (AoC++).
Parameters
Returns
YearStatus | str | Table-
A status model, JSON string, or Rich table depending on
fmt.
Raises
MissingSessionTokenError-
If no session token can be resolved.
StatusFetchError-
If the event page cannot be fetched, authenticated, or parsed.
ValueError- If the year is outside the supported range or the format is unsupported.
Notes
The total star count comes from the account header on the event page. Use days to inspect stars earned on individual puzzles in the event.