Files
dash-cli-py/test.py
2025-10-17 16:15:03 +02:00

19 lines
464 B
Python

import httpx
from datetime import datetime, timezone
from zoneinfo import ZoneInfo
async def load_data_pfc():
async with httpx.AsyncClient(timeout=10.0) as client:
response = await client.get(
f"http://100.124.129.93:19837/device-info",
)
result = response.json()
print(result)
if __name__ == "__main__":
import asyncio
team_id = 1045 # Example team ID (Manchester United)
asyncio.run(load_data_pfc())