Hypixel Player Api (vkeshav300):
v1.1.2
This is a package made for getting the data of Hypixel Minecraft players in JSON format. You can also get the data of the player's Skyblock profiles.
General Information:
To Install:
For Windows / macOS:
pip install HypixelPlayerApi
If you get an error:
Make sure you are on the latest version of Python! Also make sure that you have the latest version of this package! To get on the latest version of this package, you can enter the command found below:
pip install --upgrade HypixelPlayerApi
If you still have an error, go to the Issues link found under the Links section below.
Changes Since Last Version:
- ADDED option to use a player's
usernameinstead of theiruuid_dashed. - UPDATED README to be more organized
- ADDED
Using The Packagesection to tell how to use the package. - REMOVED links that only worked on Github.
Links:
Issues, Releases, Author Profile, PyPI page,
Using The Package:
To Import:
from HypixelPlayerApi import plr
How to instantiate
obj = plr.Player([<(Player UUID-Dashed) or (Player Username)>, <(UUID) or (USERNAME)>], <API_KEY>)
In argument 1, you input a list, with the player's uuid-dashed or username as the first element in the list, and then you enter a string telling the program that you entered the UUID or Username. You will see examples at the end of the How to instantiate section.
To get the uuid_dashed of a player, just go to a website like namemc.com and search up the player's username. It should give you their uuid & uuid_dashed. To get the API_KEY, type /api in a Hypixel server. If your API_KEY gets leaked, create a new one.
obj = plr.Player(['TestUser123', 'USERNAME'], <API_KEY>) # With USERNAME
obj = plr.Player(['abcdefgh-ijkl-mnop-qrst-uvwxyz', 'UUID'], <API_KEY>) # With UUID-Dashed
Code Examples:
PlayerData = obj.get_hypixel_stats() # Returns Hypixel player data
SkyblockData = obj.get_skyblock_data(<Profile>) # Returns Hypixel Skyblock data for the inputted profile
Release files for HypixelPlayerApi 1.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| HypixelPlayerApi-1.1.2.tar.gz | 4.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| HypixelPlayerApi-1.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.9 kB
Release files / HypixelPlayerApi-1.1.2.tar.gz
| Download URL | HypixelPlayerApi-1.1.2.tar.gz |
|---|---|
| Size | 4.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
54954fa2f5de9a8ad5b71f48fa68c413c570a0db286c30c232da7c20fbbac02b
|
|
BLAKE2b-256 checksum How to use checksums |
8db2ae25eb19ac9ae5546ee70e0a8406328a3b92d93693bbf02e8185119f7178
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|
Release files / HypixelPlayerApi-1.1.2-py3-none-any.whl
| Download URL | HypixelPlayerApi-1.1.2-py3-none-any.whl |
|---|---|
| Size | 4.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a870ad538228bafae8ebcdff9e6eb2df180f8455c818dbdc151621f9b5ef941c
|
|
BLAKE2b-256 checksum How to use checksums |
5771c2cfa81fd9d5ccab4f3cefb51c7f2687cc1f8e6c9524033edecdbb918f4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.9.13
|