Skip to content

🐍 A modern & maintained wrapper for the Nova Universe API written in Python.

Notifications You must be signed in to change notification settings

NovaUniverse/NovaUniverse.py

Repository files navigation

A modern & maintained wrapper for the Nova Universe API written in Python.

Discord Shield PyPI version Python Badge Docs Badge

ℹ 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

  1. Install package from pypi.
#Windows/Linux

pip install novauniverse
  1. 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.xyz/

About

🐍 A modern & maintained wrapper for the Nova Universe API written in Python.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published