Small wrapper for HexWay Hive API
Project description
Hexway Hive API
Unofficial flexible library for HexWay Hive Rest API.
Tested on HexWay Hive 0.62.8
Installation
pip install hexway-hive-api
Dependencies
- pydantic ~= 2.4
- requests ~= 2.31.0
Usage
Simple HiveClient
from hexway_hive_api import RestClient
def main() -> None:
auth = {
'server': 'https://demohive.hexway.io/',
'username': 'someuser',
'password': 'somepassword',
'proxies': {
'http': 'http://127.0.0.1:8080',
'https': 'http://127.0.0.1:8080',
}
}
client = RestClient(**auth)
client.authenticate()
projects: list = client.get_projects().get('items')
client.update_project(project_id=1, fields={'name': 'New Project Name'})
if __name__ == "__main__":
main()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hexway_hive_api-0.1.5.tar.gz
(9.1 kB
view details)
Built Distribution
File details
Details for the file hexway_hive_api-0.1.5.tar.gz
.
File metadata
- Download URL: hexway_hive_api-0.1.5.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b490ad78cc6cd0e8f47240d7ef89a65e1a908bbf9ac2ba27117a18b3b3bc1bf6 |
|
MD5 | 5ee58a712376d3c97cbc07ba27a75f7a |
|
BLAKE2b-256 | 76cf7287e631b188320d55069fbe606043b5a6308b4c2e3edf091f5ce67042b3 |
File details
Details for the file hexway_hive_api-0.1.5-py3-none-any.whl
.
File metadata
- Download URL: hexway_hive_api-0.1.5-py3-none-any.whl
- Upload date:
- Size: 11.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b487ec79aa721a383a484ad6aecffb0ca30a8855a3f27aeb99c6410abf90ea3 |
|
MD5 | d43d963c0a4f8ac9aae5f44d585a000a |
|
BLAKE2b-256 | 51b1c17ae1d2e88d859369a08f901603cf226f04068f68f115a2e19d3c7ff260 |