Woffu API client with access to several endpoints.
Project description
woffu-client
Woffu API client with access to several endpoints.
Installation
Development
pip install -e .
TODO: Instructions for pre-built package
Usage:
$ woffu-cli -h
usage: woffu-cli [-h] [--config CONFIG] [--interactive INTERACTIVE] {download-all-documents,get-status,sign,request-credentials} ...
CLI interface for Woffu API client
options:
-h, --help show this help message and exit
--config CONFIG Authentication file path (default: /home/${USER}/.config/woffu/woffu_auth.json)
--interactive INTERACTIVE
Set session as interactive or non-interactive (default: True)
actions:
{download-all-documents,get-status,sign,request-credentials}
download-all-documents
Download all documents from Woffu
get-status Get current status and current day's total amount of worked hours
sign Send sing 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.
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.0.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.0.1a3.tar.gz.
File metadata
- Download URL: woffu_client-0.0.1a3.tar.gz
- Upload date:
- Size: 20.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
855d886acc7bcaa0ab8454bf0bd944a26f758b9e452e6b8f872f60d66dcc8d34
|
|
| MD5 |
3dbcdf9b592c6ccd1b5e841c145e9833
|
|
| BLAKE2b-256 |
34bb4710d0dc2eff3cbbd3e548cc7907f358f4dd4be6aa070bb97893c4051a79
|
File details
Details for the file woffu_client-0.0.1a3-py3-none-any.whl.
File metadata
- Download URL: woffu_client-0.0.1a3-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dd9092c81b10eb3d5ed64d3bba4488796fe16b71daff9a277d3540445663f690
|
|
| MD5 |
107707e665a6bf29304105da69e8ec20
|
|
| BLAKE2b-256 |
72cac154eebdf67fe673f8969f15cd738f929483b5864a83c6a7d6d68cb9a26f
|