A modern efficient and faster way of interacting with the Hypixel API!
Project description
__ __ _ __ ________
/ / / /_ ______ (_) _____ / / / _/ __ \
/ /_/ / / / / __ \/ / |/_/ _ \/ / / // / / /
/ __ / /_/ / /_/ / /> </ __/ / _/ // /_/ /
/_/ /_/\__, / .___/_/_/|_|\___/_/ /___/\____/
/____/_/
A Modern Efficient and Easy way of interacting with the Hypixel API!
Installing
Note: Python 3.6 or above is required!
# Windows
py -3 -m pip install -U HypixelIO
# Linux or MacOS
python3 -m pip install -U HypixelIO
# Install the development version
python3 -m pip install -U git+https://github.com/janaSunrise/HypixelIO
Usage
from hypixelio import Client, Converters
client = Client(api_key="your-api-key")
boosters = client.get_boosters() # Get the boosters object
friends = client.get_friends(uuid="user's-uuid") # Returns the Friends object
# or if you don't know the UUID
friends = client.get_friends(uuid=Converters.username_to_uuid("your-username"))
print(boosters[0].ID)
print(friends.FRIENDS[0].RECEIVER_ID)
TODOs PLANNED
- Implement Games and leaderboard Models in searching
- Add Examples for using the code in
README.md
- Add boosters API Section
- Add Resources API Section
- Add Skyblock API Section
- Converters like - UUID to Username - Username to UUID
- Fix
__repr__
and__str__
- Implement caching for efficiency
If you're interested in seeing the Changelog, Go here!
API-Help section: https://hypixel.net/threads/guide-using-the-hypixel-api-with-python.2596749/
Made by janaSunrise with ❤
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
HypixelIO-0.0.3.tar.gz
(9.4 kB
view hashes)
Built Distribution
HypixelIO-0.0.3-py3-none-any.whl
(27.9 kB
view hashes)
Close
Hashes for HypixelIO-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | abd8d7aa6fa259c486399ead5258b4dd4e95cf9183bb00de0826587d0ebca696 |
|
MD5 | a0bce2401af3239c8334795dbbe95de4 |
|
BLAKE2b-256 | f00b81dfb61a8a027d5f9c9232cb95ad9cf668d719a663dbada25ca24dc949a1 |