Skip to main content

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


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.1a1.tar.gz (20.4 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.1a1-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

Details for the file woffu_client-0.1.1a1.tar.gz.

File metadata

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

Hashes for woffu_client-0.1.1a1.tar.gz
Algorithm Hash digest
SHA256 f0eacb774e39177341acdb036f3de518190cc4975792cf33f94c1be158e8edf4
MD5 235a84039742e68c4d356285fb328b07
BLAKE2b-256 0ef857d8480cbd9233b3014b1500ab8520cfdf0dd2ee92e9c5df1bc827c25a1d

See more details on using hashes here.

File details

Details for the file woffu_client-0.1.1a1-py3-none-any.whl.

File metadata

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

Hashes for woffu_client-0.1.1a1-py3-none-any.whl
Algorithm Hash digest
SHA256 0e25b0fe28ea4e33b9e0464f3c5f86294fd34240747b3b672a695c82256f7893
MD5 0d0422539a07e040ea391fd6d11f864b
BLAKE2b-256 6b24bd42e43ff44699b71efa5666faf3ad99462eb31c26288f3a8559921200bf

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