first commit

This commit is contained in:
2025-11-05 18:29:49 +03:00
commit a80c03a27d
41 changed files with 7713 additions and 0 deletions

11
data_sender.py Normal file
View File

@@ -0,0 +1,11 @@
import requests
def send_data_to_ips(data, ip_list):
for ip in ip_list:
try:
url = f"{ip}/API/"
response = requests.post(url, json=data)
print(f"Data sent to {ip}: {response.status_code}")
except Exception as e:
print(f"Error sending data to {ip}: {e}")