A package allowing you to parse skyblock profile information including networth.
Project description
skyblockparser v1.0.3
This requires a Hypixel API Key
Installation
Python 3.6 or higher is required.
Run pip install skyblockparser
on your project folder.
Usage
In the following example, we use the Profile class to get the stats of each member in a SkyBlock profile.
from skyblockparser.profile import SkyblockParser
import requests
api_key = ""
uuid = "28667672039044989b0019b14a2c34d6" # Refractions UUID
url = f"https://api.hypixel.net/v2/skyblock/profiles?key={api_key}&uuid={uuid}"
response = requests.get(url).json()
player = SkyblockParser(response, uuid, api_key)
profile = player.select_profile("Apple") # Apple Profile of Refraction
print(profile.skill_data)
print(profile.dungeon_data)
print(profile.slayer_data)
# Printing some example data.
profile.inv[0].render().show()
# Item Render
Valid Storage Types:
Regular:
inv
ender_chest
inv_armor
wardrobe
equipment
personal_vault
backpack_[index starting at 0] (Storage) the index sets the backpack
Bags:
potion_bag
talisman_bag
fishing_bag
quiver
Valid Stat Types:
skill_data
dungeon_data
slayer_data
Note:
- Pets do not support rendering yet *unless they are not from the Pet Menu #HypixelAddPetLoreToApi
- If you want to use your own hosted api, or if mine ever goes offline, the code is in the
api
directory
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
skyblockparser-1.0.3.tar.gz
(19.3 kB
view hashes)
Built Distribution
Close
Hashes for skyblockparser-1.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f9a18a1945d4a1dbcf84c09eca5c63c1667ea1ad61ac506b6a559bf6c3b9fd |
|
MD5 | 758ec64e528fab2262ae5a150ddc0215 |
|
BLAKE2b-256 | 04daef51bd3b82b829631a780785b738936ff57d9fddb2874187bf948b542ef4 |