first commit
This commit is contained in:
19
test.py
Normal file
19
test.py
Normal file
@@ -0,0 +1,19 @@
|
||||
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())
|
||||
Reference in New Issue
Block a user