Skip to content

Commit

Permalink
feat: file formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
aytekin-smartcar committed Jun 3, 2024
1 parent 1b88548 commit 14bf1cb
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions smartcar/smartcar.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,18 +265,20 @@ def get_management_token(amt: str, username: str = "default") -> str:


def get_connections(
amt: str, filter: Optional[Dict[str, str]] = None, paging: Optional[Dict[str, Optional[int]]] = None
amt: str,
filter: Optional[Dict[str, str]] = None,
paging: Optional[Dict[str, Optional[int]]] = None,
) -> types.GetConnections:
"""
Returns a paged list of all the vehicles that are connected to the application
associated with the management API token used, sorted in descending order by connection date.
Args:
amt (str): Application Management Token from Smartcar Dashboard
filter (dict, optional):
filter (dict, optional):
vehicle_id (str, optional): If provided, filters connections to a specific vehicle.
user_id (str, optional): If provided, filters connections to a specific user.
paging (dict, optional):
paging (dict, optional):
limit (int, optional): The maximum number of connections to return.
cursor (str, optional): The cursor ID for pagination to retrieve the next set of results.
Expand Down

0 comments on commit 14bf1cb

Please sign in to comment.