Expand description
§Advent of Code client
A client for retreiving personalized inputs and submitting answers to the yearly Advent of Code puzzles.
It can either be used as a CLI tool by installing it with cargo install advent-of-code-client
.
This will install the aoc
client that can be used to submit answers.
The main interface is through AocClient, which provides a AocClient::get_input function to retreive your personalized input for a puzzle, and AocClient::submit to submit an answer for a given Problem and Level.
§Authentication
See crate README for details on getting your personal token.
Structs§
- AocClient
- Client for interacting with
https://adventofcode.com
. - Problem
- Represents a problem for Advent of Code.
Enums§
- Level
- Indicates the level for a given daily problem. Also known as part 1 and 2.
- Submission
Result - Result of a submission of an answer to a problem.
- Year
- Represents a year of advent of code challenges.
Type Aliases§
- Day
- Indicates the day for a given problem.