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.1.2 (August 8, 2016)

  • Fixed a bug when logging http requests.

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

2.1.1 (July 22, 2016)

  • More flexible configuration of requests in HTTPServer.

Project details


Release history Release notifications | RSS feed

This version

2.1.2

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for jsonrpcclient-2.1.2.tar.gz
Algorithm Hash digest
SHA256 c64d2e82cc24f18a6d512d689e5dff8ace44b69cff004c7951f635be995dcaca
MD5 91187da2c92326538cae4744a5c4a724
BLAKE2b-256 d01b868ae92c6575b0c5d6b974a75631e286536ecb3f4d2c31fdc5ca331fb87b

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