Skip to content

Commit

Permalink
Adjust api doc
Browse files Browse the repository at this point in the history
  • Loading branch information
bcb committed Oct 11, 2016
1 parent c163a36 commit e0614da
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions doc/api.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,18 @@ jsonrpcclient Guide
Installation
============

Install jsonrpcclient with the *requests* library:
Install the package with the *Requests* library (alternatively, see :doc:`other
options<examples>`):

.. sourcecode:: sh

$ pip install 'jsonrpcclient[requests]'

Import the ``HTTPClient`` class and instantiate it, passing the server
endpoint::
Import ``HTTPClient`` and instantiate it, passing the server endpoint::

>>> from jsonrpcclient.http_client import HTTPClient
>>> client = HTTPClient('http://cats.com')

There are other :doc:`clients <examples>` available which use different
protocols to send a message. Regardless of the client, the rest of the usage
described below is the same.

Sending a request
=================

Expand Down

0 comments on commit e0614da

Please sign in to comment.