hypy.ext.skyhelper package
Submodules
hypy.ext.skyhelper.skyhelper module
- class hypy.ext.skyhelper.skyhelper.SkyHelperCredentials
Bases:
objectA dataclass meant to contain SkyHelper API information
- instance: str
- key: str
- port: int = 3000
- __init__(instance, key, port=3000)
- class hypy.ext.skyhelper.skyhelper.FetchurItem
Bases:
objectA dataclass containing a fetchur item
- name: str
- quantity: int
- text: str
- image: str
- __init__(name, quantity, text, image)
- class hypy.ext.skyhelper.skyhelper.SkyHelperWrapper
Bases:
objectA Wrapper for the SkyHelper API: https://github.com/Altpapier/SkyHelperAPI
hypy will automatically instantiate this class at Hypixel.skyhelper if an instance of SkyHelperCredentials gets passed into it during construction.
- __init__(hypixel, creds)
- async get_fetchur_item()
Gets the current Fetchur item from the SkyHelper API
- Return type
- async get_profile(nameOrUuid, profile=None, auto_find_path='last_save')
Get Information regarding a player from the SkyHelper API
- Parameters
nameOrUuid (
str) – The name or uuid of the playerprofile (
Optional[str]) – Optionally, the cute_name of a profileauto_find_path (
str) – This will only be used if profile isnt passed. It will be passed as a sort key to automatically determine a profile.
- Return type
dict
- async get_networth(nameOrUuid, profile=None)
A more specialized variant of get_profile, get networth information from the SkyHelper API
- Parameters
nameOrUuid (
str) – The name or uuid of the playerprofile (
Optional[str]) – Optionally, the cute_name of a profile