Skip to main content

LINE Works SDK for Python

Project description

line-works-sdk

LINE Works SDK for Python

Requirements

Python 3.11+

Installation

$ pip install line-works-sdk

dev version

https://pypi.org/project/line-works-sdk/#history

$ pip install line-works-sdk==x.x.devyyyymmddHHMM

Usage

from line_works import LineWorks


WORKS_ID = "YOUR WORKS ID"
PASSWORD = "YOUR WORKS PASSWORD"

works = LineWorks(works_id=WORKS_ID, password=PASSWORD)
# [INFO] line_works/client:66 login success: LineWorks(works_id='xxxxx', tenant_id=xxxxxxxx, domain_id=xxxxxxxx, contact_no=xxxxxxxxxxxxx)

my_info = works.get_my_info()
print(f"{my_info=}")

# trace websocket
asyncio.run(works.trace())

Contributors

GitHub Actions

The following linter results are detected by GitHub Actions.

  • ruff
  • mypy

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

line_works_sdk-1.0.dev202501021945.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

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

line_works_sdk-1.0.dev202501021945-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

Details for the file line_works_sdk-1.0.dev202501021945.tar.gz.

File metadata

File hashes

Hashes for line_works_sdk-1.0.dev202501021945.tar.gz
Algorithm Hash digest
SHA256 e17ce423265af9bf90895d750ad3eb7ed6d02f17ebe37b8390283d78626ed494
MD5 9e6e8a973e1f3e677c0c1cbd85acea6b
BLAKE2b-256 283875b45a8035563921c7951da4de569cd7b8328a3eb7b2892e05b350eee506

See more details on using hashes here.

File details

Details for the file line_works_sdk-1.0.dev202501021945-py3-none-any.whl.

File metadata

File hashes

Hashes for line_works_sdk-1.0.dev202501021945-py3-none-any.whl
Algorithm Hash digest
SHA256 828d30c65c9f9ba612764a27fdbe4fe26005e516b9212724adce2520e8023847
MD5 99bffe94ccbc4cb9fe968f964a9a6f20
BLAKE2b-256 79037469ff9d6d3fa373433da41b63c46c0f5c09b2ec62409f7234108c4a4bf4

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