Skip to main content

Send JSON-RPC requests

Project description

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

>>> from jsonrpcclient.http_server import HTTPServer
>>> HTTPServer('http://cats.com/').request('speak')
--> {"jsonrpc": "2.0", "method": "speak", "id": 1}
<-- {"jsonrpc": "2.0", "result": "meow", "id": 1}
'meow'

Full documentation is at jsonrpcclient.readthedocs.io.

2.2.0 (Sep 12, 2016)

  • Support Tornado adapter

  • Improve logging configuration

2.1.3 (Aug 10, 2016)

  • Simpler configuration of the id part of requests

2.1.2 (Aug 8, 2016)

  • Fixed a bug when logging http requests.

  • Create default log handlers if user hasn’t configured any.

2.1.1 (Jul 22, 2016)

  • More flexible configuration of requests in HTTPServer.

Project details


Release history Release notifications | RSS feed

Download files

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

Source Distribution

jsonrpcclient-2.2.0.tar.gz (9.5 kB view details)

Uploaded Source

File details

Details for the file jsonrpcclient-2.2.0.tar.gz.

File metadata

File hashes

Hashes for jsonrpcclient-2.2.0.tar.gz
Algorithm Hash digest
SHA256 5bbd847458248bdb6d86fafde80520231cb6f0ed49345a17aa6b2f8c3ab7b346
MD5 775d06fdde7ae8660237c774d871f0f2
BLAKE2b-256 f55b5c93a391ff4ddc077757ee93ca7c28d05355d8b0e10aa739c2d103dde59c

See more details on using hashes here.

Supported by

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