Use the package manager pip to install the main branch.
pip install git+https://github.com/SuperOrca/minehut-api.git
To import, use minehut
import minehut
Example:
import minehut
# Retrieving the Minehut server through its name
server = minehut.getServer("Elestra")
# Printing all the plugin names inside the server
print([plugin.getName() for plugin in server.getPlugins()])
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.