diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 01:35:16 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2021-05-16 01:35:16 +0300 |
commit | c9edd6717283a4bf11bdda91e95b70590ac84a2f (patch) | |
tree | 082fe36b050764e0b84160b91019da706107d15f /README.md | |
parent | 47ab3d064d1fff7645fa55e39a1642e9643107e1 (diff) |
minor updates, version up to 1.0.1
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -12,10 +12,12 @@ pip install inverterd ## Usage example ```python -from inverterd import Client +from inverterd import Client, Format c = Client(8305, '127.0.0.1') -c.format('json') +c.connect() + +c.format(Format.JSON) print(c.exec('get-status')) print(c.exec('get-year-generated', (2021,))) ``` |