Skip to content
Snippets Groups Projects
Commit b2d66dcb authored by Caner Candan's avatar Caner Candan
Browse files

* README.md: minor

parent 796e603d
No related branches found
No related tags found
No related merge requests found
...@@ -13,15 +13,16 @@ In order to use the API, you have to first install the required dependencies giv ...@@ -13,15 +13,16 @@ In order to use the API, you have to first install the required dependencies giv
Here is a fast installation procedure (a bit dirty) we suggest to quickly use this API. Here is a fast installation procedure (a bit dirty) we suggest to quickly use this API.
```bash ```bash
$ cd $HOME $ mkdir $HOME/ucoin
$ cd $HOME/ucoin
$ git clone git@github.com:canercandan/ucoin-python-api.git $ git clone git@github.com:canercandan/ucoin-python-api.git
$ export PYTHONPATH="$HOME/ucoin-python-api:$PYTHONPATH" $ export PYTHONPATH="$HOME/ucoin:$PYTHONPATH"
``` ```
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: 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:
```python ```python
In [1]: import ucoin In [1]: import ucoin-python-api as ucoin
In [2]: ucoin.settings['server'] = 'mycurrency.candan.fr' In [2]: ucoin.settings['server'] = 'mycurrency.candan.fr'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment