Skip to main content

No project description provided

Project description

pyruter Build Status PyPI version

Python package to interact with the local API of Google Home devices.


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()

**NB!: The destination has to be the final destination, and not where you are hopping off.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
pyruter-1.2.4.tar.gz (3.4 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page