File: wake.py

package info (click to toggle)
tessie-api 0.1.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 308 kB
  • sloc: python: 1,308; sh: 6; makefile: 3
file content (9 lines) | stat: -rw-r--r-- 265 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
import aiohttp
from typing import Any, Dict
from .tessie_wrapper import tessieRequest


async def wake(
    session: aiohttp.ClientSession, vin: str, api_key: str
) -> Dict[str, Any]:
    return await tessieRequest(session, "GET", f"/{vin}/wake", api_key)