A package that you can use to get the data of a player in hypixel, and hypixel skyblock.
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file HypixelPlayerApi-1.1.2.tar.gz.
File metadata
- Download URL: HypixelPlayerApi-1.1.2.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
54954fa2f5de9a8ad5b71f48fa68c413c570a0db286c30c232da7c20fbbac02b
|
|
| MD5 |
5e6232fc676b58d008c6a78779e60ea3
|
|
| BLAKE2b-256 |
8db2ae25eb19ac9ae5546ee70e0a8406328a3b92d93693bbf02e8185119f7178
|
File details
Details for the file HypixelPlayerApi-1.1.2-py3-none-any.whl.
File metadata
- Download URL: HypixelPlayerApi-1.1.2-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a870ad538228bafae8ebcdff9e6eb2df180f8455c818dbdc151621f9b5ef941c
|
|
| MD5 |
aa35c5d05de138326cb6b115d63e2117
|
|
| BLAKE2b-256 |
5771c2cfa81fd9d5ccab4f3cefb51c7f2687cc1f8e6c9524033edecdbb918f4e
|