A modern & maintained wrapper for the Nova Universe API written in 🐍 Python.
Project description
ℹ Notice: 2.0 is currently in development so not all api endpoints are implemented.
What is Nova Universe.py?
NovaUniverse.py is an API wrapper for “Nova Universe” (a minecraft event hosting group) that allows you to interface with the Nova Universe API in a fast object oriented way natively within Python. One of the bonuses is that it was developed by ME, an admin at NovaUniverse.Install/Set Up
- Install package from pypi.
#Windows/Linux
pip install novauniverse
- That's It! - Brief Example Below
from novauniverse import EventClient, Events, NovaOnlinePlayer
client = EventClient()
@client.on_event(Events.CLIENT_READY)
def client_is_ready():
print("Client is ready!")
@client.on_event(Events.PLAYER_JOIN)
def on_player_join(player:NovaOnlinePlayer):
print(f"{player.username} joined {player.server_name}!")
client.start()
More Examples and Info at https://nupy.devgoldy.me/
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
novauniverse-2.1.3.tar.gz
(18.8 kB
view hashes)
Built Distribution
Close
Hashes for novauniverse-2.1.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 046cc08f6b028f40e0ddfb1b42e155575392dfdc455d883046849740008d5742 |
|
MD5 | 46821454c6139e895bf67ccaab290e0d |
|
BLAKE2b-256 | bdc8c0ff9572d115e9bf25eff9777a3a541e5aa25803129f3d469490a62a82a4 |