Skip to main content

Woffu API client with access to several endpoints.

Project description

woffu-client

PyPI - Python version PyPI - Version PyPI - Downloads PyPI - License

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


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.2.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

woffu_client-0.1.2-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file woffu_client-0.1.2.tar.gz.

File metadata

  • Download URL: woffu_client-0.1.2.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

Hashes for woffu_client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 7d141ae286173a2eb820840faae34aba8021f6608d986513a4521a2790d72aa6
MD5 85cae50deb92254536612b78c6e79569
BLAKE2b-256 2706c8d88421b0cb90bfdc73c9cf1736894c88970fd81aaaa05e7a3f1ce090fb

See more details on using hashes here.

File details

Details for the file woffu_client-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: woffu_client-0.1.2-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

Hashes for woffu_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1139a1b777c70d6e8bb2ac2a7869893590cbe63e9a7fda0ecd57b7e51e60c444
MD5 a2705d3fe258e797a39c15289aab682c
BLAKE2b-256 899aa5b274770179ba86afa97f26d8a5d2629c74d9358e91a645ca85bae5ec27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page