Skip to content
Snippets Groups Projects
Commit cec50388 authored by lucien senaneuch's avatar lucien senaneuch
Browse files

[doc & gitignore] add an example in the readme.md Add __pycache__ on the .gitignore

parent cd76b254
No related branches found
No related tags found
No related merge requests found
__pycache__
\ No newline at end of file
# Nanospace-client
## Python client
### Requirement
Request package is needed
```bash
pip install requests
```
### Simple examle
Check simple_example.py. Before try to launch it, think to change the login, password and srvUrl in the file.
Think to end the address with a '/'.
```python
from nanospace import Nanospace
nanospace = Nanospace('http://yourSrvUrl/','yourUsername', 'yourPassword')
print(nanospace.get_value(66))
nanospace.update_value(66, 'sma', '9000000')
print(nanospace.get_value(66)) # 9000000
```
### Notes
This is currently working only
## Bash client
### Get your login
......
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment