This is a client to access API of https://clubcobrnovlnena.spaces.nexudus.com/.
The API is documented at https://developers.nexudus.com/reference/about-the-public-api with swagger doc at https://spaces.nexudus.com/swagger/ui/index
Have Python and pip installed.
This is the common setup for any Python project these days.
The following works on Linux, see the Python docs for venv and pip - installation guides in case any of the below does not work for you.
Set up your virtual environment to install dependencies to:
python -m venv .venvThis will create a .venv directory with your virtual environment.
Next, run:
. ./.venv/bin/activateThis activates your virtual environment for working with Python.
To deactivate it later, you just need to run the deactivate command.
To install required Python dependencies to run the project, run:
pip install -r requirements.txtThis will pull the dependencies and install the Python packages in your virtual environment.
After installing all the dependencies as described above, run the following from the root dir of the project:
cd src/
./main.py -u <your_clubco_username>In case the CLI program has issues after you've successfully used it before, try removing the cache file for your user that should appear in the same directory from which you run the binary.
rm <yourusername>.json