Skip to content

Commit 3d3893d

Browse files
author
Caner Candan
committed
* README.md: fixed an issue in the example
1 parent b2d66dc commit 3d3893d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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 [email protected]:canercandan/ucoin-python-api.git
18+
$ git clone [email protected]:canercandan/ucoin-python-api.git ucoinpy
1919
$ export PYTHONPATH="$HOME/ucoin:$PYTHONPATH"
2020
```
2121

2222
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:
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()
3030
Out[3]:
3131
{'contract': {'currentNumber': '5',
3232
'hash': 'FB710AE30F843BF505ABF9DE8CF404B7F35D238A'},

0 commit comments

Comments
 (0)