No project description provided
Project description
pyruter
Python package to interact with the local API of Google Home devices.
Install
pip install pyruter
Example usage
"""Example usage of pyruter."""
import asyncio
from pyruter.api import Departures
async def test_pyruter():
"""Example usage of pyruter."""
stopid = 2190400
destination = 'Drammen'
data = Departures(LOOP, stopid, destination)
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.
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
pyruter-1.0.1.tar.gz
(2.8 kB
view hashes)