Snuggle / hypixel.py

🎮 This is a simple, unofficial library for getting values from the public Hypixel-API in Python.
https://pypi.org/project/hypixel
MIT License
32 stars 6 forks source link

When will the example of minigame statistics be added? #13

Closed urFate closed 4 years ago

Snuggle commented 5 years ago

I haven't worked on this project for quite a while, but this is something you should access with JSON! Could you give an example of a statistic you'd like and I could try to show how to retrieve it? 😊

urFate commented 5 years ago

Easy-peasy. :D https://pastebin.com/TSzgKbXE Examples needed for new coders)

urFate commented 5 years ago

And pls change default player rank 'non' to 'DEFAULT' And correct the display of the player level, because of the fact that there are too many digits) http://prntscr.com/mor8e0

Do not throw this project, perhaps its big future) ☄

Snuggle commented 5 years ago

I can make these changes for you and include your example!

I'll clean your example up a little though. optionInput = input("Please select from list: {}\n> ".format(options))

Could be better written as:

optionInput = input(f"Please select from list: {options}\n> ")

urFate commented 5 years ago

Good no problem, I will be very happy. It is very good that you help me.