Skip to main content

Python wrapper for DragonMint T1 REST API

Project description

Build Status Maintainability Test Coverage PyPI version Documentation Status

dragon-rest

Python wrapper for DragonMint T1 REST API

If you use Halong Mining's DragonMint T1, and would like to interact with it programmatically using Python, then look no further! I have implemented the full HTTP REST API for your enjoyment and pleasure.

Quickstart

Install pip package

$ pip install dragon-rest

Write the Python codes

from dragon_rest.dragons import DragonAPI

dragon_host = '10.0.0.1'
api = DragonAPI(dragon_host,
                username='admin',
                password='dragonadmin')

r = api.summary()
print(r)
# now you're in the big leagues, boye

Reference

API documentation: https://dragon-rest.readthedocs.io/

For details on the DragonMint API, see: https://halongmining.com/api/

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

dragon-rest-0.0.7.tar.gz (4.3 kB view details)

Uploaded Source

File details

Details for the file dragon-rest-0.0.7.tar.gz.

File metadata

  • Download URL: dragon-rest-0.0.7.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for dragon-rest-0.0.7.tar.gz
Algorithm Hash digest
SHA256 d16eab202bb2f1aa526883767d27eec2d682ca4dd8889d1dcaa1ef20306eef0f
MD5 7fd8e219cb9bdf438df68cdb2e151378
BLAKE2b-256 f0825f500cda279bb5bd69bc1ee70cb3eb668aee41e8f493422fe9058366e8f5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page