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

example   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 9
dl 0
loc 13
rs 10
c 0
b 0
f 0
wmc 1

1 Function

Rating   Name   Duplication   Size   Complexity  
A main() 0 4 1
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())