AoCAPI 1.0.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package AoCAPI --version 1.0.1
                    
NuGet\Install-Package AoCAPI -Version 1.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AoCAPI" Version="1.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AoCAPI" Version="1.0.1" />
                    
Directory.Packages.props
<PackageReference Include="AoCAPI" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AoCAPI --version 1.0.1
                    
#r "nuget: AoCAPI, 1.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package AoCAPI@1.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=AoCAPI&version=1.0.1
                    
Install as a Cake Addin
#tool nuget:?package=AoCAPI&version=1.0.1
                    
Install as a Cake Tool

A simple NuGet package to handle personal Advent Of Code data

Documentation

Variable Initialization

var client = new APIHandler("session cookie");

How to obtain session cookie

Features

Fetch input files

Method parameters and return value

string GetInput(int year, int day)

Usage

string input = client.GetInput(2015, 1); // input file from year 2015, day 1

Fetch achieved stars

Method parameters and return value

Dictionary<int, int> GetStars()

Usage

Dictionary<int, int> stars = client.GetStars(); // user's achieved stars by year
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
2.3.0 185 7/31/2024
2.2.11 93 7/29/2024
2.2.10 149 4/26/2024
2.2.9 158 4/21/2024
2.2.8 188 4/7/2024
2.2.7 540 12/9/2023
2.2.6 430 12/4/2023
2.2.5 419 12/4/2023
2.1.5 424 12/3/2023
2.1.4 429 12/3/2023
2.1.3 441 12/2/2023
2.0.3 457 11/10/2023
2.0.2 468 9/15/2023
2.0.1 495 9/6/2023
2.0.0 457 9/6/2023
1.0.5 501 7/30/2023
1.0.4 505 7/29/2023
1.0.3 516 7/29/2023
1.0.2 504 7/29/2023
1.0.1 512 7/29/2023
1.0.0 527 7/29/2023