JSON-RPC client library.
Project description
Make remote procedure calls with JSON-RPC.
Simply set the server details, then make a request:
>>> s = Server('http://example.com/api')
>>> s.request('add', 2, 3)
5
Full documentation is available at https://jsonrpcclient.readthedocs.org/.
Release History
1.1.4 (2015-05-09)
Non200Response error replaced with Non2xxResponse - any 2xx status from the server is taken as success, including 204 “No Content” which may be returned for notifications.
Logging fixed - see the documentation for changes.
1.1.3 (2015-03-30)
Minor adjustments for compatibility with older Python versions.
1.1.2 (2015-02-06)
Bugfix - HTTP headers were often incorrect due to quirks in the requests module. Now using a different method to set the headers.
1.1.1 (2015-01-16)
More features available when communicating with the server, such as setting a timeout on requests, ssl verification, cookies etc.
Now compatible with older Python versions.
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.