Skip to content

stlaz/clubco

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Clubco client

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

Prerequisites

Have Python and pip installed.

Setting up your system

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.

Setting up virtual environment for Python

Set up your virtual environment to install dependencies to:

python -m venv .venv

This will create a .venv directory with your virtual environment.

Next, run:

. ./.venv/bin/activate

This activates your virtual environment for working with Python. To deactivate it later, you just need to run the deactivate command.

Installing dependencies to run the project

To install required Python dependencies to run the project, run:

pip install -r requirements.txt

This will pull the dependencies and install the Python packages in your virtual environment.

Running the project

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>

Getting out of trouble

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages