semvec/pypi-packages huggingface dataset:
switchbot-api 2.10.0
An asynchronous library to use Switchbot API
License: MIT
Requires Python: <4.0,>=3.10

# py-switchbot-api
An asynchronous library to use Switchbot API. Allows to use both devices and remotes.

## Usage

```python
token = "xxx"
secret = "yyy"

client = SwitchBotAPI(token, secret)
print(await client.list_devices())
print(await client.get_status('some-id'))
await client.send_command('some-id', {COMMAND})
```

## Development

### Install

```bash
make install
```

### Lint

```bash
make format
```

### Test

```bash
make test
```

### build wheel

```bash
make build
```

### Clean

```bash
make clean
```