Metadata-Version: 2.4
Name: hiveio-api
Version: 1.28.6rc3
Summary: Hive JSON-RPC API client package with lazy-loaded submodules for all Hive APIs
Requires-Python: >=3.12,<4
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Requires-Dist: hiveio-beekeepy (>=1.28.6)
Description-Content-Type: text/markdown

## Hive JSON-RPC API Package

A unified Python package providing lazy-loaded clients for all Hive blockchain JSON-RPC APIs.

### Installation

```bash
pip install hiveio-api
```

### Available APIs

- `account_by_key_api` - AccountByKeyApi
- `account_history_api` - AccountHistoryApi
- `block_api` - BlockApi
- `bridge` - Bridge
- `condenser_api` - CondenserApi
- `database_api` - DatabaseApi
- `debug_node_api` - DebugNodeApi
- `follow_api` - FollowApi
- `jsonrpc` - Jsonrpc
- `hive` - Hive
- `market_history_api` - MarketHistoryApi
- `network_broadcast_api` - NetworkBroadcastApi
- `rc_api` - RcApi
- `reputation_api` - ReputationApi
- `search_api` - SearchApi
- `tags_api` - TagsApi
- `transaction_status_api` - TransactionStatusApi


### Usage

```python
from wax import create_hive_chain
from hiveio_api.database_api import DatabaseApi

class MyApiCollection:
    def __init__(self):
        self.database_api = DatabaseApi

chain = create_hive_chain().extends(MyApiCollection)
```

### Lazy Loading

Each API submodule is lazily loaded, meaning importing `hiveio_api` does not load all APIs into memory. Only the APIs you explicitly import are loaded:

```python
# Only loads database_api module
from hiveio_api.database_api import DatabaseApi

# Or access via the main package (still lazy)
from hiveio_api import database_api
```

### Running Examples

Each API includes an example that can be run as a module:

```bash
python3 -m hiveio_api.database_api
python3 -m hiveio_api.condenser_api
python3 -m hiveio_api.rc_api
```
