Skip to content

A C# class for fetching information from the Hypixel Public API

Notifications You must be signed in to change notification settings

KevyPorter/hypixel-csharp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Hypixel C#

A C# class for fetching information from the Hypixel Public API https://api.hypixel.net

Requirements

Usage

To interact with the API you need an API key, you can get a key by doing "/api" on the Hypixel Network.

public partial class Example : Form
    {
        public Example()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            string playerInfo = HypixelAPI.getPlayerByUuid("af2d221ba92f47618ab4e9b73e66447b");
            dynamic api = JsonConvert.DeserializeObject(playerInfo);

            string displayName = api.player.displayname;

            richTextBox1.Text = "Display Name: " + displayName;
        }
    }

Example

About

A C# class for fetching information from the Hypixel Public API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages