mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-07-21 03:52:10 +08:00
2f33f13f8b
version: sunnypilot v0.9.7.0 release date: 2024-08-11T04:16:15 master commit: c0df551c5bbd296a1e272c1878535dec14b4e7ad
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-"
|