diff --git a/__pycache__/utils.cpython-312.pyc b/__pycache__/utils.cpython-312.pyc new file mode 100644 index 0000000..934f1f6 Binary files /dev/null and b/__pycache__/utils.cpython-312.pyc differ diff --git a/test_traccar_trip.py b/test_traccar_trip.py index e79785b..4149df8 100644 --- a/test_traccar_trip.py +++ b/test_traccar_trip.py @@ -64,8 +64,8 @@ def get_positions(server_url, token, device_id=None, from_time=None, to_time=Non # Test the function if __name__ == "__main__": # Manually enter the server URL and token - server_url = input("Enter the server URL (e.g., https://gps.moto-adv.com/api): ").strip() - token = input("Enter the authentication token: ").strip() + server_url = "https://gps.moto-adv.com/api" + token = "RjBEAiB69jflCQJ9HQwGyFdAHF8J5JPMwIIclglbWiKMWeX6PwIgdBWc-YllE_-RwoQi7zX25WxQJqQX_OTIKOHk9a3mmBN7InUiOjEsImUiOiIyMDI1LTA2LTA4VDIxOjAwOjAwLjAwMCswMDowMCJ9" # Optional: Enter device ID and date range device_id = input("Enter the device ID (leave blank for all devices): ").strip()