Skip to main content

API for Live2DViewerEX

Project description

快速上手

正常情况(可以参考websocket.WebSocket的传参)

import L2dvExApi
api =  L2dvExApi.WebSocket()
api.connect("ws://127.0.0.1:8888/api")
api.ShowTextBubble(0, "Hello, World!")
api.close()

使用wit ... as ...自动开启/关闭链接(推荐)

import L2dvExApi
with L2dvExApi.WebSocket("ws://127.0.0.1:8888/api") as api:
    api.ShowTextBubble(0, "Hello, World!")

API列表

import L2dvExApi
print(L2dvExApi.ApiList.Msg_name_to_code.keys())

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

l2dvexapi-1.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distributions

L2dvExApi-1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

L2dvEXApi-1.1-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file l2dvexapi-1.1.tar.gz.

File metadata

  • Download URL: l2dvexapi-1.1.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for l2dvexapi-1.1.tar.gz
Algorithm Hash digest
SHA256 79c06fb94cf633b1364bb3a3167287511ce756ca59b9062b6feba305078dce70
MD5 af0b934635e8a7d3bde18d7764e66845
BLAKE2b-256 24bfd873c97d7894c251dc21d161a164f9c390220b1553d7d0034ef65e743791

See more details on using hashes here.

File details

Details for the file L2dvExApi-1.1-py3-none-any.whl.

File metadata

  • Download URL: L2dvExApi-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for L2dvExApi-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 32fbafb4de309a118adb19239d3b6affa3ce89d4d3e1e5f94836e8e7f9178198
MD5 399d81d78a91ff14e931f786b43cd271
BLAKE2b-256 d9eaea2dd0b8d9807cc1c1d47159945019c6167ffbc158f2cf0df7f731534008

See more details on using hashes here.

File details

Details for the file L2dvEXApi-1.1-py3-none-any.whl.

File metadata

  • Download URL: L2dvEXApi-1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for L2dvEXApi-1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c08976144f2d6c462f8e75f0f812470ac78cc7b75d7074cffaeffcc838e8825f
MD5 94b4a6695538d471fb47296235b3bdeb
BLAKE2b-256 db0bd60dc49e1b925bca97bd49f63c278467bb40b3859d0b38dd77cae781759b

See more details on using hashes here.

Supported by

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