Getting Started¶
Usage¶
First, run /api on the Hypixel server to get your own key.
1 2 3 4 | from hypixelapi import HypixelAPI
api = HypixelAPI('your-key-here')
response = api.get_player_json('uuid')
print(response)
|
Some examples are provided on GitHub.
For detailed documentation of each function see the API documentation.
For documentation of the official API see here.
This will also provide details on the format of the response JSON, or you can print each JSON yourself (I recommend the pprint
module) to see the format.