Skip to main content

Unofficial idena-go RPC API Python Wrapper

Project description

pydena

Unofficial Python API for idena-go RPC

Requirements

  • Python 3.6+

Installation

# From pypi
pip install pydena

# From source
git clone github.com/M4cs/pydena
cd pydena
python3 setup.py install

Roadmap

  • IPFS API ✔
  • Accounts API ✔
  • Blockchain API ✔
  • DNA API ✔
  • Net API ❌
  • Flip API ❌
  • Contracts API ❌

Usage

Initialize your API:

from pydena import API

# Local Node with No API Key on http://localhost:9009
api = API()

# Local Node with API Key
api = API(apikey='YOUR-API-KEY')

# Remote node with API Key
api = API('http://localhost:9999', 'YOUR-API-KEY')

# Get Coinbase Address:
api.getCoinbaseAddress()

# Get Last Block:
api.getLastBlock()

# See all in documentation below!

View the official documentation here

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pydena-1.0.2.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

pydena-1.0.2-py3-none-any.whl (7.1 kB view hashes)

Uploaded Python 3

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