Skip to content

Commit

Permalink
Adjust readme
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb committed Aug 17, 2017
1 parent 2246c8c commit fade3fc
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ $ pip install 'jsonrpcclient[requests]'
import jsonrpcclient
jsonrpcclient.request('http://cats.com', 'speak')
```
```sh
--> {"jsonrpc": "2.0", "method": "speak", "id": 1}
<-- {"jsonrpc": "2.0", "result": "meow", "id": 1} (200 OK)
'meow'
```

Full documentation is at [jsonrpcclient.readthedocs.io](https://jsonrpcclient.readthedocs.io/).

Expand Down
2 changes: 1 addition & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Send `JSON-RPC <http://www.jsonrpc.org/>`__ requests in Python 2.7 and 3.3+.
>>> import jsonrpcclient
>>> jsonrpcclient.request('http://cats.com', 'speak')
--> {"jsonrpc": "2.0", "method": "speak", "id": 1}
<-- {"jsonrpc": "2.0", "result": "meow", "id": 1}
<-- {"jsonrpc": "2.0", "result": "meow", "id": 1} (200 OK)
'meow'

This example uses the *requests* library for sending, but more options are
Expand Down

0 comments on commit fade3fc

Please sign in to comment.