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.3.tar.gz
(8.9 kB
view details)
Built Distribution
File details
Details for the file hexway_hive_api-0.1.3.tar.gz
.
File metadata
- Download URL: hexway_hive_api-0.1.3.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fae4dcecad61fa7e95e0d8cf1bc18d73cc6e64bb5767b397dd97a0483d8eb6b |
|
MD5 | 6cfeb5bf4e76c0176825bb0b67161da2 |
|
BLAKE2b-256 | 66ff724990f0b56a735d4755a0867005b746bf340d9cd651fefe4ce99d96e48b |
File details
Details for the file hexway_hive_api-0.1.3-py3-none-any.whl
.
File metadata
- Download URL: hexway_hive_api-0.1.3-py3-none-any.whl
- Upload date:
- Size: 10.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.19
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 31cdf99e0c4847cd0c79fb4f494ac8a639655d9616f3e9568f260b570a86488b |
|
MD5 | 2ff1a2d7be793e93b10e9f697025ca53 |
|
BLAKE2b-256 | 0450dc512be3e3f3b1843bf95a7976ff4f1c85a5abd4561b1ffa56fde8eee0cf |