# elf > Advent of Code helper for Python: fetch and cache inputs, submit answers, and pull private leaderboards. ## Docs ### API Reference #### Puzzle inputs and answers - [get_puzzle_input](https://typeerror.com/elf/reference/get_puzzle_input.html): Retrieve the raw puzzle input for a specific Advent of Code puzzle - [submit_puzzle_answer](https://typeerror.com/elf/reference/submit_puzzle_answer.html): Submit an answer for a specific puzzle part - [SubmissionResult](https://typeerror.com/elf/reference/SubmissionResult.html): Outcome of an answer attempt or a local submission guardrail #### Progress and leaderboards - [get_user_status](https://typeerror.com/elf/reference/get_user_status.html): Retrieve the user's Advent of Code progress for the specified year - [get_private_leaderboard](https://typeerror.com/elf/reference/get_private_leaderboard.html): Retrieve a private leaderboard for a given year - [DayStatus](https://typeerror.com/elf/reference/DayStatus.html): Calendar entry for one puzzle day - [YearStatus](https://typeerror.com/elf/reference/YearStatus.html): Advent of Code calendar and account summary for an event page - [Leaderboard](https://typeerror.com/elf/reference/Leaderboard.html): Private leaderboard and its members for one Advent of Code event - [OutputFormat](https://typeerror.com/elf/reference/OutputFormat.html): Output formats for status and leaderboard queries #### Puzzle helpers - [helpers.parse_input](https://typeerror.com/elf/reference/helpers.parse_input.html) - [helpers.read_input](https://typeerror.com/elf/reference/helpers.read_input.html) - [helpers.timer](https://typeerror.com/elf/reference/helpers.timer.html) #### Submission and leaderboard models - [models.SubmissionStatus](https://typeerror.com/elf/reference/models.SubmissionStatus.html) - [models.Member](https://typeerror.com/elf/reference/models.Member.html) - [models.StarCompletion](https://typeerror.com/elf/reference/models.StarCompletion.html) #### Exceptions - [exceptions.ElfError](https://typeerror.com/elf/reference/exceptions.ElfError.html) - [exceptions.MissingSessionTokenError](https://typeerror.com/elf/reference/exceptions.MissingSessionTokenError.html) - [exceptions.PuzzleLockedError](https://typeerror.com/elf/reference/exceptions.PuzzleLockedError.html) - [exceptions.InputFetchError](https://typeerror.com/elf/reference/exceptions.InputFetchError.html) - [exceptions.SubmissionError](https://typeerror.com/elf/reference/exceptions.SubmissionError.html) - [exceptions.LeaderboardFetchError](https://typeerror.com/elf/reference/exceptions.LeaderboardFetchError.html) - [exceptions.StatusFetchError](https://typeerror.com/elf/reference/exceptions.StatusFetchError.html)