Giana.Api 0.0.10

dotnet add package Giana.Api --version 0.0.10
                    
NuGet\Install-Package Giana.Api -Version 0.0.10
                    
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="Giana.Api" Version="0.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Giana.Api" Version="0.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Giana.Api" />
                    
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 Giana.Api --version 0.0.10
                    
#r "nuget: Giana.Api, 0.0.10"
                    
#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 Giana.Api@0.0.10
                    
#: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=Giana.Api&version=0.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Giana.Api&version=0.0.10
                    
Install as a Cake Tool

Giana.Api readme

Functional API

const string gitExePath = @"C:\Program Files\Git\bin\git.exe";
const string gitRepository = "https://github.com/dotnet/wpf.git";

string tempClone = await Actions.CreateCloneFromUriAsync(gitExePath, gitRepository);
string repoName = await Actions.RequestRepositoryNameAsync(gitExePath, tempClone);

var records = await Actions.RequestGitLogAsync(gitExePath, repoName, tempClone);

records = records.WithTimeRange(DateTime.Now.AddMonths(-6), DateTime.Now);
records = records.RenameAuthor("Thomas Goulet", "ThomasGoulet73");

var authorRanking = AuthorRankingCalculations.CreateAuthorRankingSorted(records);
AuthorRankingActions.WriteAsCsv(authorRanking, Console.Out);

Output, 26. Jan 2025

Author,FileTouches
Jeremy Kuhne,3994
Harshit,927
h3xds1nz,664
dotnet-maestro[bot],474
Thomas Goulet,343
Hugh Bellamy,147
Himanshi Goyal,141
Dipesh Kumar,113
Adam Sitnik,59
Sia Gupta,48
Ashish Kumar Singh,45
Pankaj Chaurasia,12
Anjali,12
Eric StJohn,12
Kuldeep,8
Mitch Razga,5
Loni Tra,5
...

Fluent API

const string gitExePath = @"C:\Program Files\Git\bin\git.exe";
const string gitRepository = "https://github.com/dotnet/wpf.git";

var repo = await GitRepository.CreateAsync(gitExePath, gitRepository);

var records = await repo.LogAsync();

records = await records
  .TimeRange().In(DateTime.Now.AddMonths(-6), DateTime.Now)
  .Rename().Author("Thomas Goulet", "ThomasGoulet73")
  .BuildAsync();

var authorRanking = AuthorRankingCalculations.CreateAuthorRankingSorted(records);
AuthorRankingActions.WriteAsCsv(authorRanking, Console.Out);

Output, 26. Jan 2025

Author,FileTouches
Jeremy Kuhne,3994
Harshit,927
h3xds1nz,664
dotnet-maestro[bot],474
Thomas Goulet,343
Hugh Bellamy,147
Himanshi Goyal,141
Dipesh Kumar,113
Adam Sitnik,59
Sia Gupta,48
Ashish Kumar Singh,45
Pankaj Chaurasia,12
Anjali,12
Eric StJohn,12
Kuldeep,8
Mitch Razga,5
Loni Tra,5
...
Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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.
  • net10.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
0.0.10 113 3/29/2026
0.0.10-preview.52 75 1/22/2026
0.0.10-preview.51 75 1/22/2026
0.0.10-preview.47 80 12/31/2025
0.0.10-preview.3 64 3/29/2026
0.0.10-preview.2 64 3/29/2026
0.0.10-preview.1 58 3/29/2026
0.0.9 133 12/30/2025
0.0.8-preview.46 77 12/30/2025
0.0.8-preview.45 70 12/27/2025
0.0.8-preview.44 59 12/27/2025
0.0.8-preview.42 66 12/27/2025
0.0.8-preview.40 166 12/25/2025
0.0.8-preview.39 178 12/25/2025
0.0.8-preview.38 166 12/24/2025
0.0.8-preview.37 154 12/23/2025
0.0.8-preview.36 331 12/22/2025
Loading failed

pre-release. Remember, anything can happen in a pre-release.