2020-02-05 21:45:48 +01:00
|
|
|
# SpaceApiCli
|
|
|
|
|
2020-02-09 16:48:57 +01:00
|
|
|
![Python application](https://github.com/reikkaps/spaceapicli/workflows/Python%20application/badge.svg?branch=master)
|
2020-02-09 16:47:29 +01:00
|
|
|
|
2020-02-05 21:45:48 +01:00
|
|
|
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 23:04:44 +01:00
|
|
|
usage: SpaceApiCli.py [-h] [-n NAME] [-l] [-v] [-w]
|
2020-02-05 22:12:10 +01:00
|
|
|
|
|
|
|
Show Space Status
|
|
|
|
|
|
|
|
optional arguments:
|
|
|
|
-h, --help show this help message and exit
|
|
|
|
-n NAME, --name NAME Name of Hackerspace
|
2020-02-05 23:04:44 +01:00
|
|
|
-l, --list List all Hackspaces on Spaceapi
|
|
|
|
-v, --verbose Show more Infos of Hackspace
|
|
|
|
-w, --web get homepage url
|
|
|
|
|
2020-02-05 22:12:10 +01:00
|
|
|
|
2020-02-05 22:18:51 +01:00
|
|
|
Defaults: without option -n it will get the state of the hackspace
|
|
|
|
LeineLab in Hannover, Germany <https://leinelab.org>.
|
|
|
|
|
2020-02-05 22:12:10 +01:00
|
|
|
|
|
|
|
|