Hypixel.NET
1.0.1
.NET Core 2.0
This package targets .NET Core 2.0. The package is compatible with this framework or higher.
.NET Framework 4.5.2
This package targets .NET Framework 4.5.2. The package is compatible with this framework or higher.
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package Hypixel.NET --version 1.0.1
NuGet\Install-Package Hypixel.NET -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="Hypixel.NET" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Hypixel.NET --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hypixel.NET, 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.
// Install Hypixel.NET as a Cake Addin #addin nuget:?package=Hypixel.NET&version=1.0.1 // Install Hypixel.NET as a Cake Tool #tool nuget:?package=Hypixel.NET&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Hypixel.NET C# Wrapper
This is my C# implmentation of the Hypixel API
NuGet Package
The NuGet package can be found at https://www.nuget.org/packages/Hypixel.NET/
Examples
Here are some examples from the Example project
using System;
using Hypixel.NET;
namespace Examples
{
class Program
{
static void Main(string[] args)
{
var hypixel = new HypixelApi("YOUR API KEY", 600);
var playerRequest = hypixel.GetUserByPlayerName("barrows");
Console.WriteLine(playerRequest.Player.Stats.SkyWars.Kills);
var playerUuidRequest = hypixel.GetUserByUuid("4c38f0a6-a36f-4f06-985c-7851b3853ccb");
Console.WriteLine(playerUuidRequest.Player.Stats.SkyWars.ArrowsShot);
var guildByGuildName = hypixel.GetGuildByGuildName("The Scrobobboplers");
Console.WriteLine(guildByGuildName.Guild.Coins);
var guildByPlayerName = hypixel.GetGuildByPlayerName("barrows");
Console.WriteLine(guildByPlayerName.Guild.Exp);
var guildByUuid = hypixel.GetGuildByUuid("4c38f0a6-a36f-4f06-985c-7851b3853ccb");
Console.WriteLine(guildByUuid.Guild.Name);
var getFriendsByUuid = hypixel.GetPlayerFriendsByUuid("4c38f0a6-a36f-4f06-985c-7851b3853ccb");
Console.WriteLine(getFriendsByUuid.Records.Count);
var getFriendsByPlayerName = hypixel.GetPlayerFriendsByPlayerName("barrows");
Console.WriteLine(getFriendsByPlayerName.Records.Count);
var getBoosters = hypixel.GetBoosters();
Console.WriteLine(getBoosters.Boosters.Count);
var watchdogStats = hypixel.GetWatchdogStats();
Console.WriteLine(watchdogStats.WatchdogTotal);
var getApiKey = hypixel.GetApiKeyInformation("YOUR API KEY");
Console.WriteLine(getApiKey.Record.TotalQueries);
var getLeaderboards = hypixel.GetLeaderboards();
Console.WriteLine(getLeaderboards.Leaderboards.SkyWars.Count);
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. 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. |
.NET Core | netcoreapp2.0 is compatible. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Framework | net452 is compatible. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETCoreApp 2.0
- Microsoft.CSharp (>= 4.5.0)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.9)
- System.Runtime.Caching (>= 4.5.0)
-
.NETFramework 4.5.2
- Microsoft.CSharp (>= 4.5.0)
- Newtonsoft.Json (>= 12.0.1)
- RestSharp (>= 106.6.9)
- System.Runtime.Caching (>= 4.5.0)
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 | |
---|---|---|---|
1.0.9.4 | 707 | 12/17/2021 | |
1.0.9.3 | 645 | 3/7/2021 | |
1.0.9.2 | 590 | 8/1/2020 | |
1.0.9.1 | 497 | 6/28/2020 | |
1.0.9 | 484 | 5/14/2020 | |
1.0.8.1 | 479 | 4/20/2020 | |
1.0.8 | 601 | 3/13/2020 | |
1.0.7 | 555 | 12/26/2019 | |
1.0.6.1 | 473 | 12/14/2019 | |
1.0.6 | 516 | 10/20/2019 | |
1.0.5 | 584 | 10/19/2019 | |
1.0.4 | 472 | 10/13/2019 | |
1.0.3 | 514 | 8/13/2019 | |
1.0.1 | 585 | 3/20/2019 | |
1.0.0 | 571 | 3/16/2019 |
Added the ability to set how long results are cached for