Teslemetry Streaming API library for Python
Project description
Teslemetry Stream Library
async def main():
async with aiohttp.ClientSession() as session:
stream = TeslemetryStream(
token="<token>",
vin="<vin>",
session=session,
)
await stream.connect()
print("Connected")
async def callback(event):
print(event)
asyncio.create_task(self.listen(callback))
await asyncio.sleep(20)
await stream.close()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for teslemetry_stream-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6dd51a11d7ab860375ae0af999d5fb3eaab8c9c6ebf11d5fc9b67f5b1cf726 |
|
MD5 | afbf526cfc351124e56215ebbc66de55 |
|
BLAKE2b-256 | c8f2fb08eda7cd0cb4943fab92ff1c4e531c26e7187bd2c7c8053de7fd10d883 |