XPd(Experience Points daemon program) JSON-RPC Binding for Python
This package is an Experience Points (XP) client for Python, and communicates with XP daemon (XPd) via JSON-RPC.
You'll need a running instance of XP daemon program (XPd) <https://github.com/eXperiencePoints/XPCoin> to connect with.
XPd doesn't allow connect via JSON-RPC port by default. So you'll need change some settings below, then reboot XPd.
XP.conf:
server=0 → 1 rpcallowip=127.0.0.1 → <your ip address>
Some code examples below:
from xpd_client import XPdClient
connection = XPdClient('http://localhost:28191', 'rpc-user', 'rpc-password')
print(conn.getinfo())
While you connect to XPd, you can call XPd's commands <https://github.com/soeLexicon/node-ExperiencePoints/#commands>.
MIT <https://github.com/moochannel/python-xpd-client/blob/master/LICENSE>
moochannel (Katsuhisa Ueda) <https://github.com/moochannel/>