updated: 2023-10-01 12:00:00 +0000

This commit is contained in:
2025-06-02 23:22:00 +03:00
parent 94c64a9dec
commit a4c5e406c2
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@@ -64,8 +64,8 @@ def get_positions(server_url, token, device_id=None, from_time=None, to_time=Non
# Test the function # Test the function
if __name__ == "__main__": if __name__ == "__main__":
# Manually enter the server URL and token # Manually enter the server URL and token
server_url = input("Enter the server URL (e.g., https://gps.moto-adv.com/api): ").strip() server_url = "https://gps.moto-adv.com/api"
token = input("Enter the authentication token: ").strip() token = "RjBEAiB69jflCQJ9HQwGyFdAHF8J5JPMwIIclglbWiKMWeX6PwIgdBWc-YllE_-RwoQi7zX25WxQJqQX_OTIKOHk9a3mmBN7InUiOjEsImUiOiIyMDI1LTA2LTA4VDIxOjAwOjAwLjAwMCswMDowMCJ9"
# Optional: Enter device ID and date range # Optional: Enter device ID and date range
device_id = input("Enter the device ID (leave blank for all devices): ").strip() device_id = input("Enter the device ID (leave blank for all devices): ").strip()