İlk versiyon: MyMach Fleet Intelligence ve yapılandırmalar

This commit is contained in:
cerenX9
2026-07-20 19:41:40 +03:00
commit f497805d08
85 changed files with 7071 additions and 0 deletions

7
ping.py Normal file
View File

@@ -0,0 +1,7 @@
import urllib.request
import json
url = "http://localhost:8069/mymach/fleet/ping"
data = {"params": {"vehicle_id": 13, "latitude": 41.0, "longitude": 29.0, "api_token": "MYMACH_SECURE_TOKEN_2026"}}
req = urllib.request.Request(url, data=json.dumps(data).encode('utf-8'), headers={'Content-Type': 'application/json'})
resp = urllib.request.urlopen(req)
print(resp.read().decode('utf-8'))