File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -15,18 +15,18 @@ Here is a fast installation procedure (a bit dirty) we suggest to quickly use th
15
15
``` bash
16
16
$ mkdir $HOME /ucoin
17
17
$ cd $HOME /ucoin
18
- $ git clone
[email protected] :canercandan/ucoin-python-api.git
18
+ $ git clone
[email protected] :canercandan/ucoin-python-api.git
ucoinpy
19
19
$ export PYTHONPATH=" $HOME /ucoin:$PYTHONPATH "
20
20
```
21
21
22
22
Thus you are ready to use it with your own python program. Here is an example illustrating how to use it thanks to the python shell:
23
23
24
24
``` python
25
- In [1 ]: import ucoin - python - api as ucoin
25
+ In [1 ]: import ucoinpy
26
26
27
- In [2 ]: ucoin .settings[' server' ] = ' mycurrency.candan.fr'
27
+ In [2 ]: ucoinpy .settings[' server' ] = ' mycurrency.candan.fr'
28
28
29
- In [3 ]: ucoin .ucg.Peering().get()
29
+ In [3 ]: ucoinpy .ucg.Peering().get()
30
30
Out[3 ]:
31
31
{' contract' : {' currentNumber' : ' 5' ,
32
32
' hash' : ' FB710AE30F843BF505ABF9DE8CF404B7F35D238A' },
You can’t perform that action at this time.
0 commit comments