2020-02-05 21:45:48 +01:00
|
|
|
# SpaceApiCli
|
|
|
|
|
|
|
|
a simple cmdline tool to access the hackspace-API from
|
|
|
|
the unix console or toolbars like polybar
|
|
|
|
|
|
|
|
## Install
|
|
|
|
|
|
|
|
1. Clone the repository
|
|
|
|
|
|
|
|
git clone https://github.com/reikkaps/spaceapicli.git
|
|
|
|
|
|
|
|
2. run setup.py
|
|
|
|
|
|
|
|
python setup.py install
|
|
|
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
2020-02-05 22:12:10 +01:00
|
|
|
usage: SpaceApiCli.py [-h] [-n NAME] [-v] [-w]
|
|
|
|
|
|
|
|
Show Space Status
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-n NAME, --name NAME Name of Hackerspace
|
|
|
|
-v Show more Infos of Hackerspace
|
|
|
|
-w get homepage url
|
|
|
|
|
|
|
|
|
|
|
|
Defaults: without option -n it will get the state of the hackspace LeineLab in Hannover, Germany
|
|
|
|
|
|
|
|
|