Package neosvrpy

neosvrpy

[!WARNING]
Depreciation notice for NeosVR, this project will be forked and modified to support only Resonite. See https://github.com/brodokk/resonitepy

Unofficial NeosVR API python library.

Based on a work by mralext20. The main difference with his library is the simplification of the HTTP call by make them sync instead of async but is more up to date.

The code is still in WIP mode, see the files neosvrpy/classes.py and neosvrpy/client.py for how to use them.

Usage

Quick exemple of to use it

from neosvrpy.client import Client
from neosvrpy.classes import LoginDetails

client = Client()

client.login(
    LoginDetails(username="YOURUSERNAME", password="YOURPASSWORD")
)

friends = client.getFriends()
for friend in friends:
    print(friend.friendUsername)
Expand source code
"""
.. include:: ../README.md
"""
import sys

if sys.version_info[:2] >= (3, 8):
    from importlib import metadata
else:
    import importlib_metadata as metadata

__version__ = metadata.version(__package__)

del metadata, sys

Sub-modules

neosvrpy.classes

This module define some of the NeosVR API json responce under usable python classes.

neosvrpy.client

This module define the client who will do the request to the NeosVR API.

neosvrpy.endpoints

This module define some basic domain use by NeosVR API.

neosvrpy.exceptions

This module define the Exceptions classes use by this package.

neosvrpy.secrets
neosvrpy.utils

This module define some generic function use at multiple places in the package.