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

  • Client for interacting with https://adventofcode.com.
  • Represents a problem for Advent of Code.

Enums

  • Indicates the level for a given daily problem. Also known as part 1 and 2.
  • Result of a submission of an answer to a problem.
  • Represents a year of advent of code challenges.

Type Aliases

  • Indicates the day for a given problem.