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
1515``` bash
1616$ mkdir $HOME /ucoin
1717$ cd $HOME /ucoin
18- $ git clone git@github.com:canercandan/ucoin-python-api.git
18+ $ git clone git@github.com:canercandan/ucoin-python-api.git ucoinpy
1919$ export PYTHONPATH=" $HOME /ucoin:$PYTHONPATH "
2020```
2121
2222Thus 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:
2323
2424``` python
25- In [1 ]: import ucoin - python - api as ucoin
25+ In [1 ]: import ucoinpy
2626
27- In [2 ]: ucoin .settings[' server' ] = ' mycurrency.candan.fr'
27+ In [2 ]: ucoinpy .settings[' server' ] = ' mycurrency.candan.fr'
2828
29- In [3 ]: ucoin .ucg.Peering().get()
29+ In [3 ]: ucoinpy .ucg.Peering().get()
3030Out[3 ]:
3131{' contract' : {' currentNumber' : ' 5' ,
3232 ' hash' : ' FB710AE30F843BF505ABF9DE8CF404B7F35D238A' },
You can’t perform that action at this time.
0 commit comments