Metadata-Version: 2.1
Name: hexway-hive-api
Version: 0.1.2
Summary: Small wrapper for HexWay Hive API
Home-page: https://github.com/Cur1iosity/hexway-hive-api
Author: @Cur1iosity
Author-email: Cur1iosity@protonmail.com
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.12
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests >=2.31.0
Requires-Dist: pydantic >=2.4.0
Provides-Extra: dev
Requires-Dist: pytest ; extra == 'dev'

[![Run Tests](https://github.com/Cur1iosity/hexway-hive-api/actions/workflows/run-tests.yml/badge.svg)](https://github.com/Cur1iosity/hexway-hive-api/actions/workflows/run-tests.yml)
[![PyPI](https://img.shields.io/pypi/v/hexway-hive-api)](https://pypi.org/project/hexway-hive-api/)
[![Hexway](https://img.shields.io/badge/hexway-visit%20site-blue)](https://hexway.io)

# HivePy

Unofficial flexible library for [HexWay Hive](https://hexway.io/hive/) Rest API.

#### Tested on HexWay Hive 0.62.8

## Installation
```bash
TBD
```

## Dependencies

- pydantic ~= 2.4
- requests ~= 2.31.0

## Usage
### Simple HiveClient
```python
from hexway_hive_api import RestClient


def main() -> None:
    auth = {
        'server': 'https://demohive.hexway.io/',
        'username': 'cur1',
        'password': '',
        'proxies': {
            'http': 'http://127.0.0.1:8080',
            'https': 'http://127.0.0.1:8080',
        }
    }
    client = RestClient(
        base_url="https://hive.example.com",
        username="{username}",
        password="{password",
    )

    client.authenticate()
    projects: list = client.get_projects().get('items')
    
    project_data = client.get_p
    
    client.update_project(project_id=1,)
    
if __name__ == "__main__":
    main()


```
