Woffu API client with access to several endpoints.
Project description
woffu-client
Woffu client with access to several endpoints outside their public API, for those users without access to a Woffu API key.
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.2a1.tar.gz
(28.2 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.2a1.tar.gz.
File metadata
- Download URL: woffu_client-0.1.2a1.tar.gz
- Upload date:
- Size: 28.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0073655df86e268f782dfaaa37937023dd0063871231e2ee372f101c91d1e851
|
|
| MD5 |
f5c3a8c1a96983b71a0863162d96c51f
|
|
| BLAKE2b-256 |
f6a25938ed2945b732d4609e2046ea9a3065ed1edf67a5b406f63a81f3d3654f
|
File details
Details for the file woffu_client-0.1.2a1-py3-none-any.whl.
File metadata
- Download URL: woffu_client-0.1.2a1-py3-none-any.whl
- Upload date:
- Size: 15.5 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 |
adaa6648bfa7e2a7f5e378832626e29b95c79f60c53a7d777015e8e92a1971fa
|
|
| MD5 |
d733b4f2c6db30b7faae41de2ddf9834
|
|
| BLAKE2b-256 |
b4f7e698b5b185e01e0a5eb4f7c7cac0b5023b82241a299bac87ee46dc973051
|