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.1a3.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.1a3.tar.gz.
File metadata
- Download URL: woffu_client-0.1.1a3.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 |
d59f52078b28a99290dbf5a649c1d1b20c69b53bca5884f2144abc91b545ae11
|
|
| MD5 |
ed8f02301bfed22a28e499e89e64013a
|
|
| BLAKE2b-256 |
4c3f81ebfbaaade2baa4803f511e7afa06a055b4c2f20e797bcdd5819136ff24
|
File details
Details for the file woffu_client-0.1.1a3-py3-none-any.whl.
File metadata
- Download URL: woffu_client-0.1.1a3-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 |
e09fd235e612264ba5f6f22518b21c69d3b3e4da41f0b551b25843a9a98d8e73
|
|
| MD5 |
efc969b638bc4f4a4a4bf29e4ab284dc
|
|
| BLAKE2b-256 |
d64aff86802f7d8f65a462562d87b6ba30115c4e23177284e8c6cd7c2cb64813
|