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.8.tar.gz (4.3 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for dragon-rest-0.0.8.tar.gz
Algorithm Hash digest
SHA256 885a08b0cc16c6f3da04419a88066f59795aeba0f5ebd91c8ee30dae10aa79b8
MD5 b05fd6d0b688be38c704bdc36372a03a
BLAKE2b-256 dc1b1aafd43e5e03cf93345bf65208c82a90f042bae4a7aedaa88e92efaca402

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