gwisp - Guardian Wisp
Simple service to store/retrieve time-tracker
If want to end-user application, see wooup
Installation
# install dependency pacakges by hand
sudo apt-get install mongodb-org
# install gwisp from pypi
pip install gwisp
# start service
gwisp start
# get help information
gwisp --help
Usage
Use case is a bit of long and complicated, so read them in documents
- For configuration, see Configuration
- For command line usage, see CLI
- For End-point APIs usage, see End-point APIs
This is an example to get time-tracker
, show by HTTP message format
=====================================================[ REQUEST HEADERS ]====
GET /tracker/680c494fe779891723e6f1ce
========================================================[ REQUEST BODY ]====
None
====================================================[ RESPONSE HEADERS ]====
HTTP/1.1 200 OK
Content-Type: application/json; charset=UTF-8
=======================================================[ RESPONSE BODY ]====
{
"_id": "680c494fe779891723e6f1ce",
"name": "work on office",
"author": {
"_id": "980c494fe779891723e6f1ce",
"name": "gwisp"
},
"tags": ["work", "office"],
"num_user": 7566,
"notes": "research and developer",
"tasks": {
{"start": "05:00", "action": "run"},
{"start": "06:00", "action": "standby"},
{"start": "06:15", "action": "take shower"},
{"start": "06:30", "action": "have breakfast"},
...
}
}