semvec/pypi-packages huggingface dataset:
jx3api 2024.12.18
The Python SDK to the JX3API
License: MIT License
Requires Python: >=3

# jx3api-py
The Python SDK to the [JX3API](https://www.jx3api.com).

## Installation

### From pypi
```bash
pip install --no-cache -U jx3api
```

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

## Quick Start

### Sync
```python
from jx3api import JX3API

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

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

### Async
```python
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.

:)