mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-09-09 22:23:46 +08:00
5c37fd3ced
version: sunnypilot v2026.003.000 (feature-branch)
date: 2026-09-01T19:58:46
master commit: 89bc4ce00d
12 lines
265 B
Python
12 lines
265 B
Python
import os
|
|
|
|
from openpilot.common.api.base import BaseApi
|
|
|
|
API_HOST = os.getenv('API_HOST', 'https://api.commadotai.com')
|
|
|
|
|
|
class CommaConnectApi(BaseApi):
|
|
def __init__(self, dongle_id):
|
|
super().__init__(dongle_id, API_HOST)
|
|
self.user_agent = "openpilot-"
|