senitherweight
Hypixel SkyBlock Weight Calculator
Information
Written without any external libraries other than aiohttp which is used to fetch data from the Hypixel API.
This requires a Hypixel API key. You may obtain one by logging onto hypixel.net with your Minecraft client and typing
/api new.
Credits
Usage
from senitherweight import SenitherWeight
import asyncio
senither = SenitherWeight("API-KEY-HERE")
async def main():
# using a UUID
print(await senither.get_weight("e710ff36fe334c0e8401bda9d24fa121"))
# using a username
print(await senither.get_weight_from_name("timnoot"))
# functions for if you wish to see a certain profile instead of the most recently used profile
print(await senither.get_weight_from_name("MooshiMochi", "Orange"))
print(await senither.get_weight("0ce87d5afa5f4619ae78872d9c5e07fe", "Mango"))
# get raw weight from raw data, read the JSDoc for more information
# this does not return the uuid and username fields but it does not make any requests
print(SenitherWeight.get_weight_raw(
{
'mining': 183102234.88907138, 'foraging': 61906511.969001345, 'enchanting': 508444404.0935615,
'farming': 136267563.7507943, 'combat': 418778146.1766783, 'fishing': 110893816.12596695,
'alchemy': 112877401.723031, 'taming': 488698175.13185537
},
{
'healer': {'experience': 129196634.63940006},
'mage': {'experience': 156073711.0390862},
'berserk': {'experience': 304167530.58791596},
'archer': {'experience': 235720208.66076514},
'tank': {'experience': 192383702.58436698}
},
900529694,
{
'zombie': {'xp': 2115212},
'spider': {'xp': 1913691},
'wolf': {'xp': 1200006},
'enderman': {'xp': 1000500},
'blaze': {'xp': 255}
},
))
asyncio.run(main())
Example output of one of the functions, in JSON:
{
"total": 5902.302984602829,
"skill_weight": 3013.6795988302724,
"dungeon_weight": 2357.485394537336,
"slayer_weight": 531.1379912352199
}
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
senitherweight-0.0.1.tar.gz
(9.9 kB
view details)
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 senitherweight-0.0.1.tar.gz.
File metadata
- Download URL: senitherweight-0.0.1.tar.gz
- Upload date:
- Size: 9.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
00967ebfe0d9cf844ede07b78ae75a8741e2f5cd6415e4df93431d49044dc16b
|
|
| MD5 |
9c8eca3f8d05fc554cfd79e89006823c
|
|
| BLAKE2b-256 |
c2ea8120a6a6d7df3260edbc1cbaa1ae5a79ab10caa47fa83dbc8ed8ee83f86e
|
File details
Details for the file senitherweight-0.0.1-py3-none-any.whl.
File metadata
- Download URL: senitherweight-0.0.1-py3-none-any.whl
- Upload date:
- Size: 10.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/4.0.2 CPython/3.9.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad40f632c13d87187daaf87cfcd27eceb2aca6297e064571d032cf4847bd7811
|
|
| MD5 |
7326f7e6042e6f6eb332b4c28be8edf2
|
|
| BLAKE2b-256 |
5ffdf6bdf847e79b9fc5b39454f781d4e110c3f7bb37406396a46c42ffa63fae
|