git.fiddlerwoaroof.com
Browse code

Edited README.markdown via GitHub

fiddlerwoaroof authored on 26/05/2011 22:14:09
Showing 1 changed files
... ...
@@ -1,4 +1,24 @@
1 1
 A JSON-RPC 2.0 implementation for Python (Python 3 not supported)
2 2
 
3
+
4
+You can get started with:
5
+
6
+- Python 2.7:
7
+   
8
+   $ python -m jsonrpc <host name>
9
+
10
+- Python 2.6
11
+
12
+   $ python -m jsonrpc.__main__ <host name>
13
+
14
+After the python interpreter starts up, you can do things like
15
+(if the JSON-RPC Server supports the methods called):
16
+
17
+   >>> server.add(1, 2)
18
+   3
19
+   >>> server.subtract(3,2)
20
+   1
21
+
22
+
3 23
 Made for:
4 24
     http://ncmi.bcm.edu
5 25
\ No newline at end of file