Skip to content

sbrandtb/jsonrpcclient

 
 

Repository files navigation

jsonrpcclient

Send JSON-RPC requests in Python 2.7 and 3.3+.

python

>>> from jsonrpcclient.http_client import HTTPClient >>> HTTPClient('http://cats.com/').request('speak')

sh

--> {"jsonrpc": "2.0", "method": "speak", "id": 1} <-- {"jsonrpc": "2.0", "result": "meow", "id": 1} 'meow'

Full documentation is at jsonrpcclient.readthedocs.io.

See also: jsonrpcserver

About

Send JSON-RPC requests in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%