Woffu API client with access to several endpoints.
Reason this release was yanked:
Bad upload, should have been os-based and python-version-based files
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.1.tar.gz
(20.5 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.1.tar.gz.
File metadata
- Download URL: woffu_client-0.0.1.tar.gz
- Upload date:
- Size: 20.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2f3b9ba893e7914d12643597af0ace84c4897a57f2b480d71333c563bc9190a7
|
|
| MD5 |
55afcd79fdab388b67c129152bea197a
|
|
| BLAKE2b-256 |
087907e21e066d30fb62ba4e658b44e234194e362bc50057415e532148303114
|
File details
Details for the file woffu_client-0.0.1-py3-none-any.whl.
File metadata
- Download URL: woffu_client-0.0.1-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.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5d3f2dcfc85b16ece42fe74dbf0661af8ff1fb4081815e6cf915943ba33888cd
|
|
| MD5 |
11c3b3d0825895033a618037e81b6a0f
|
|
| BLAKE2b-256 |
0b5a33e4ffad3b4bff75d6e4f9dd31cc2f4e4def9e57e65bb3559e508a7bf21e
|