Passed
Pull Request — main (#70)
by Guy
01:30
created

example.main()   A

Complexity

Conditions 1

Size

Total Lines 4
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 4
nop 0
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
from ims_envista import IMSEnvista
2
3
4
async def main() -> None:
5
    token = "f058958a-d8bd-47cc-95d7-7ecf98610e47"
6
    api = IMSEnvista(token=token)
7
    print(await api.get_latest_station_data(station_id=178))
8
9
10
if __name__ == "__main__":
11
    import asyncio
12
    asyncio.run(main())