pyruter

Python package to interact with the local API of Google Home devices.
Install
pip install pyruter
This package also include a CLI tool, run pyruter --help to see what it can do.
Example usage
"""Example usage of pyruter."""
import asyncio
import aiohttp
from pyruter.api import Departures
async def test_pyruter():
"""Example usage of pyruter."""
stopid = 2190400
destination = 'Drammen'
custom_session = aiohttp.ClientSession()
data = Departures(LOOP, stopid, destination, custom_session)
await data.get_departures()
print("Departures:", data.departures)
LOOP = asyncio.get_event_loop()
LOOP.run_until_complete(test_pyruter())
**NB!: The destination has to be the final destination, and not where you are hopping off.
Metadata
Release files for pyruter 1.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyruter-1.2.4.tar.gz | 3.4 kB | Details |
Release files / pyruter-1.2.4.tar.gz
| Download URL | pyruter-1.2.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f2408fba83c2b6c72f6c10c6d532c45acff200b2f50fe2ecc66acad1e9999809
|
|
BLAKE2b-256 checksum How to use checksums |
5fb96f3f352dcf594f5394252655ceea46884a7d3d36be3f3546d6faa0382b8c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.14
|