Woffu API client with access to several endpoints.
Project description
woffu-client
Woffu API client with access to several endpoints.
Installation
PyPI
The build package is publicly available on PyPI:
pip install woffu-client
Development
pip install -e .
Usage:
usage: woffu-cli [-h] [--config CONFIG] [--non-interactive] {download-all-documents,get-status,sign,request-credentials,summary-report} ...
CLI interface for Woffu API client
options:
-h, --help show this help message and exit
--config CONFIG Authentication file path (default: /home/mpalacin/.config/woffu/woffu_auth.json)
--non-interactive Set session as non-interactive
actions:
{download-all-documents,get-status,sign,request-credentials,summary-report}
download-all-documents
Download all documents from Woffu
get-status Get current status and current day's total amount of worked hours
sign Send sign in or sign out request based on the '--sign-type' argument
request-credentials
Request credentials from Woffu. For non-interactive sessions, set username and password as environment variables WOFFU_USERNAME and WOFFU_PASSWORD.
summary-report Summary report of work hours for a given time window
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
woffu_client-0.1.1a2.tar.gz
(20.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file woffu_client-0.1.1a2.tar.gz.
File metadata
- Download URL: woffu_client-0.1.1a2.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8034e51cf09b84978036dbc6dd2bba5101854f2e1f593e9064752dcc67a35d0c
|
|
| MD5 |
17c058584478af8daea876ccff1f2314
|
|
| BLAKE2b-256 |
f5aa5a4174de7315cbf96e747b417599f5f4a7fa802a2c8ba03e046fb5831655
|
File details
Details for the file woffu_client-0.1.1a2-py3-none-any.whl.
File metadata
- Download URL: woffu_client-0.1.1a2-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680d1f126cbbbebe794debf28b433198a8482b29a3579e91cb34d70ab0be394d
|
|
| MD5 |
a2ad603389934b326cf31cae1d550863
|
|
| BLAKE2b-256 |
68f1ff853688384abbe98146d960321193e2205e40a4fe66af03ca5b93ef0a3d
|