updated: 2023-10-01 12:00:00 +0000
This commit is contained in:
BIN
__pycache__/utils.cpython-312.pyc
Normal file
BIN
__pycache__/utils.cpython-312.pyc
Normal file
Binary file not shown.
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user