Skip to main content

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


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)

Uploaded Source

Built Distribution

skyblockparser-1.0.3-py3-none-any.whl (18.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page