Hypixel.NET
1.0.6.1
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.6.1
NuGet\Install-Package Hypixel.NET -Version 1.0.6.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.6.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.6.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Hypixel.NET, 1.0.6.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.6.1 // Install Hypixel.NET as a Cake Tool #tool nuget:?package=Hypixel.NET&version=1.0.6.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", 300);
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("Develop");
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);
var getGameCounts = hypixel.GetGameCounts();
Console.WriteLine(getGameCounts.Games.Limbo.Players);
var getSkyblockProfile = hypixel.GetSkyblockProfileByProfileId("4c38f0a6a36f4f06985c7851b3853ccb");
foreach (var member in getSkyblockProfile.Profile.Members)
{
Console.WriteLine(member.Value.PlayerStats.AuctionsBids);
}
var getProfilesByName = hypixel.GetSkyblockProfilesByName("barrows");
foreach (var profile in getProfilesByName)
{
Console.WriteLine(profile.Profile.ProfileId);
}
var getAuctionPage = hypixel.GetAuctionPage(0);
Console.WriteLine(getAuctionPage.Auctions[0].End);
var auctionsByPlayerUuid = hypixel.GetAuctionsByPlayerUuid("4c38f0a6a36f4f06985c7851b3853ccb");
Console.WriteLine(auctionsByPlayerUuid.Auctions[0].Auctioneer);
var auctionsByPlayerName = hypixel.GetAuctionsByPlayerName("barrows");
Console.WriteLine(auctionsByPlayerName.Auctions[0].Start);
var auctionsBySkyblockProfile = hypixel.GetAuctionsByProfileId("4c38f0a6a36f4f06985c7851b3853ccb");
Console.WriteLine(auctionsBySkyblockProfile.Auctions[0].ItemName);
var auctionsBySkyblockAuctionId = hypixel.GetAuctionByAuctionId("6a576eeb8f6e4941a72844147c378b65");
Console.WriteLine(auctionsBySkyblockAuctionId.Auction[0].ItemName);
}
}
}
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 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.0
- 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 | 582 | 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 |
Bedwars tourney 2019 stats