added multicommand function
This commit is contained in:
6
main.py
6
main.py
@@ -4,8 +4,10 @@ import asyncio
|
||||
|
||||
async def main():
|
||||
bosminer = BOSMinerAPI("172.16.1.199")
|
||||
data = await bosminer.edevs(old=True)
|
||||
print(data)
|
||||
data_normal = await bosminer.asccount()
|
||||
data_multi = await bosminer.multicommand("version", "config")
|
||||
print(data_normal)
|
||||
print(data_multi)
|
||||
|
||||
|
||||
asyncio.get_event_loop().run_until_complete(main())
|
||||
|
||||
Reference in New Issue
Block a user