Fixes & Updates - 2026-06-01: Integrate Back-End v3 updates, fix call/connection issues across apps

This commit is contained in:
Hamza-Ayed
2026-06-01 23:36:27 +03:00
parent 118781fd66
commit 97945aa362
76 changed files with 19806 additions and 10822 deletions

17
scratch/test_api.py Normal file
View File

@@ -0,0 +1,17 @@
import urllib.request
import json
def check_country(country):
url = "https://api.intaleq.xyz/intaleq_v3/ride/kazan/get.php"
data = json.dumps({"country": country}).encode('utf-8')
req = urllib.request.Request(url, data=data, headers={'Content-Type': 'application/json'})
try:
with urllib.request.urlopen(req) as response:
res = response.read().decode('utf-8')
print(f"Country: {country} -> {res}")
except Exception as e:
print(f"Country: {country} -> Error: {e}")
check_country("Jordan")
check_country("Syria")
check_country("Egypt")