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
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
l2dvexapi-1.2.tar.gz
(4.1 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 l2dvexapi-1.2.tar.gz.
File metadata
- Download URL: l2dvexapi-1.2.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
840b97d9e8ab9561c3e72a39059bb4172ba020dfe6f7c4c5e1b63a9b1997c830
|
|
| MD5 |
05738663fb327a0b289b91737d1314b6
|
|
| BLAKE2b-256 |
eb5378ff0e37733cac2f64c8f66d9babcc546388b30589b3c710d2e6336f90ea
|
File details
Details for the file L2dvExApi-1.2-py3-none-any.whl.
File metadata
- Download URL: L2dvExApi-1.2-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0d863b15f195d52d653c1353c2ba78bdc2b3f19b71036ef19f22e566ee6900c
|
|
| MD5 |
d7fe0091164704a2c4653d742ccabccd
|
|
| BLAKE2b-256 |
404dec4722d1a2f8ff16565e1359c13fcdcdd1a08efab80021c02a847f3d6a37
|