Skip to content

Latest commit

 

History

History
43 lines (30 loc) · 744 Bytes

README.md

File metadata and controls

43 lines (30 loc) · 744 Bytes

jx3api-py

The Python SDK to the JX3API.

Installation

From pypi

pip install --no-cache -U jx3api

From github

pip install --no-cache -U git+https://github.com/JX3API/jx3api-py.git

Quick Start

Sync

from jx3api import JX3API

api = JX3API(token=..., ticket=...)

api.active_calendar(server="梦江南")

Async

from jx3api import AsyncJX3API

async_api = AsyncJX3API(token=..., ticket=...)

await async_api.active_calendar(server="梦江南")

# Websocket
async for msg in async_api.socket():
    ...

FYI

The codes in this repository are all automatically generated by large language model.

:)